Instructions to use Unbabel/TowerInstruct-7B-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Unbabel/TowerInstruct-7B-v0.1 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="Unbabel/TowerInstruct-7B-v0.1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Unbabel/TowerInstruct-7B-v0.1") model = AutoModelForCausalLM.from_pretrained("Unbabel/TowerInstruct-7B-v0.1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding Evaluation Results
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/Weyaxi/open-llm-leaderboard-results-pr The purpose of this PR is to add evaluation results from the Open LLM Leaderboard to your model card. If you encounter any issues, please report them to https://huggingface.co/spaces/Weyaxi/open-llm-leaderboard-results-pr/discussionsfd58d4e
-
Update README.md
Verified signature3ce0db8
-
Update generation config to do greedy decoding by default.
Verified signature1739212
-
Change eos_token_id to <|im_end|>
Verified signaturea50113a
-
Update special_tokens_map.json
Verified signature83dae58 -
Update tokenizer_config.json
Verified signature2459863 -
Update tokenizer_config.json
Verified signatureee66ebd
-
use standard quotes in usage example (#1)
Verified signature- use standard quotes in readme (a83826c8d92038625336b2cafb1cfd4e89fa813b) Co-authored-by: God <gqd@users.noreply.huggingface.co>d97a456
-
Update README.md
Verified signature9be1a29 -
Update README.md
Verified signaturedb803fc -
Licenses
7f0d7d1
-
Update README.md
b4dcb77 -
Update README.md
b3526df -
Update README.md
6509061 -
Update README.md
17392e8 -
Update README.md
98ea17e -
Update README.md
53c9fd7 -
Update README.md
76aea9a -
Update README.md
8cf9657 -
Update README.md
c1778eb -
Update README.md
407df6d -
Update README.md
dd3bcdf -
Update README.md
ad1ccd2 -
Update README.md
923de31 -
Upload tokenizer
b47c7ad -
Upload LlamaForCausalLM
3a98e1b -
Update README.md
e39144a
-
Update README.md
95b53af -
initial commit
456a213