Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Unbabel
/
TowerInstruct-7B-v0.1

Translation
Transformers
Safetensors
llama
text-generation
text-generation-inference
Model card Files Files and versions
xet
Community
11

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")
    # 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")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Update README.md

#11 opened about 1 year ago by
andre-martins

Adding Evaluation Results

#10 opened about 2 years ago by
leaderboard-pr-bot

Nice scores guys!

❤️ 1
9
#8 opened over 2 years ago by
vince62s

Batch inference slower as compared to single inferences

#6 opened over 2 years ago by
gauranshsoni12

Generation does not terminate on the eos type used in prompting

3
#4 opened over 2 years ago by
bpop

TowerInstruct takes twice as much space as TowerBase

#3 opened over 2 years ago by
bpop

Struggling to have it consistant

4
#2 opened over 2 years ago by
JaimeLugo
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs