Instructions to use MISHANM/Japanese_eng_text_generation_Llama3_8B_instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use MISHANM/Japanese_eng_text_generation_Llama3_8B_instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct") model = PeftModel.from_pretrained(base_model, "MISHANM/Japanese_eng_text_generation_Llama3_8B_instruct") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from MISHANM/Japanese_eng_text_generation_Llama3_8B_instruct: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/MISHANM/Japanese_eng_text_generation_Llama3_8B_instruct/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://MISHANM/Japanese_eng_text_generation_Llama3_8B_instruct/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/MISHANM/Japanese_eng_text_generation_Llama3_8B_instruct/resolve/main/special_tokens_map.json
432 Bytes
| { | |
| "bos_token": { | |
| "content": "<|begin_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|eot_id|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "512", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |