Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • 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
TowerInstruct-7B-v0.1
27 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 22 commits
gqd's picture
gqd
use standard quotes in readme
a83826c verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • LICENSE
    20.8 kB
    Licenses over 2 years ago
  • Notice
    112 Bytes
    Licenses over 2 years ago
  • README.md
    5.15 kB
    use standard quotes in readme over 2 years ago
  • added_tokens.json
    142 Bytes
    Upload tokenizer over 2 years ago
  • config.json
    701 Bytes
    Upload LlamaForCausalLM over 2 years ago
  • generation_config.json
    111 Bytes
    Upload LlamaForCausalLM over 2 years ago
  • model-00001-of-00006.safetensors
    4.84 GB
    xet
    Upload LlamaForCausalLM over 2 years ago
  • model-00002-of-00006.safetensors
    4.86 GB
    xet
    Upload LlamaForCausalLM over 2 years ago
  • model-00003-of-00006.safetensors
    4.86 GB
    xet
    Upload LlamaForCausalLM over 2 years ago
  • model-00004-of-00006.safetensors
    4.86 GB
    xet
    Upload LlamaForCausalLM over 2 years ago
  • model-00005-of-00006.safetensors
    4.86 GB
    xet
    Upload LlamaForCausalLM over 2 years ago
  • model-00006-of-00006.safetensors
    2.68 GB
    xet
    Upload LlamaForCausalLM over 2 years ago
  • model.safetensors.index.json
    24 kB
    Upload LlamaForCausalLM over 2 years ago
  • special_tokens_map.json
    974 Bytes
    Upload tokenizer over 2 years ago
  • tokenizer.json
    1.84 MB
    Upload tokenizer over 2 years ago
  • tokenizer.model
    500 kB
    xet
    Upload tokenizer over 2 years ago
  • tokenizer_config.json
    2.64 kB
    Upload tokenizer over 2 years ago