Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to use our custom Model instead of models from Hugging Face? #57

Open
saiki-7 opened this issue Nov 14, 2024 · 3 comments

Comments

@saiki-7
Copy link

saiki-7 commented Nov 14, 2024

@unnir can you help me out with this??
Thank you

@unnir
Copy link
Collaborator

unnir commented Nov 14, 2024

what is the name of your model? I can test it

@saiki-7
Copy link
Author

saiki-7 commented Nov 15, 2024

what is the name of your model? I can test it

Thank you for the reply. I am planning to use this model

https://github.com/mattgorb/sparse-binary-transformers/tree/main?tab=readme-ov-file

@unnir
Copy link
Collaborator

unnir commented Nov 15, 2024

it this model is available on huggingface, most likely it will work with GReaT.

For example:

from be_great import GReaT
from sklearn.datasets import fetch_california_housing

data = fetch_california_housing(as_frame=True).frame

model = GReaT(llm='unsloth/Llama-3.2-1B', batch_size=32,  epochs=1, fp16=True, report_to="none")
model.fit(data)
synthetic_data = model.sample(n_samples=100)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants