Instructions to use Unbabel/TowerInstruct-WMT24-Chat-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Unbabel/TowerInstruct-WMT24-Chat-7B 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-WMT24-Chat-7B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Unbabel/TowerInstruct-WMT24-Chat-7B") model = AutoModelForCausalLM.from_pretrained("Unbabel/TowerInstruct-WMT24-Chat-7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature74312aa
-
Update README.md
Verified signature0294241 -
Update README.md
Verified signature1180cc3 -
Update README.md
Verified signature74028b5 -
Create README.md
Verified signaturecd980f4 -
Create Notice
Verified signature54514fd -
Create LICENSE
Verified signatureb9848d8
-
Upload folder using huggingface_hub
Verified signature2b97acc -
initial commit
Verified signature1ffda9a