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

How to create custom examples #27

Open
jan-fischer-hawhamburg opened this issue Sep 18, 2024 · 2 comments
Open

How to create custom examples #27

jan-fischer-hawhamburg opened this issue Sep 18, 2024 · 2 comments

Comments

@jan-fischer-hawhamburg
Copy link

Hello,

im looking into a way to create customs example (especially because im using a german gpt2-small) but i can't figure where and how to save the data from the model.

Could give me a hint?

@MonoEven
Copy link

MonoEven commented Oct 9, 2024

You should go to huggingface to download "gpt2/tokenizer.json" & "gpt2/tokenizer_config.json".
Then create dir "models/Xenova/gpt2" under "~/transformer-explainer".
And put two jsons into the dir, then you can custom your example.
That's all enough.

Hello,

im looking into a way to create customs example (especially because im using a german gpt2-small) but i can't figure where and how to save the data from the model.

Could give me a hint?

@linwhitehat
Copy link

linwhitehat commented Oct 18, 2024

You should go to huggingface to download "gpt2/tokenizer.json" & "gpt2/tokenizer_config.json". Then create dir "models/Xenova/gpt2" under "~/transformer-explainer". And put two jsons into the dir, then you can custom your example. That's all enough.

Hello,
im looking into a way to create customs example (especially because im using a german gpt2-small) but i can't figure where and how to save the data from the model.
Could give me a hint?

Hi,
I would like to try more open source large models, is it the same setup? Is it also ok if the model is fine-tuned on new data?

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

3 participants