Instructions to use sardinelab/xTower13B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sardinelab/xTower13B 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="sardinelab/xTower13B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("sardinelab/xTower13B") model = AutoModelForCausalLM.from_pretrained("sardinelab/xTower13B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signaturee4f4254
-
Update README.md
Verified signature78536b8
-
Update README.md
Verified signature23680fa -
Update README.md
Verified signature42c018b
-
Create README.md
Verified signaturec33e136 -
Duplicate from sardinelab/xTower-multishot-w-quality-and-correction-1904
Verified signatureCo-authored-by: Nuno Guerreiro <nunonmg@users.noreply.huggingface.co>354c654