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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

fotiecodes
/
Turaco-E2B-it-mt-en-wes

Translation
Transformers
Safetensors
GGUF
English
gemma4
image-text-to-text
text-generation-inference
unsloth
cameroon
pidgin-english
cameroun
conversational
Model card Files Files and versions
xet
Community

Instructions to use fotiecodes/Turaco-E2B-it-mt-en-wes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use fotiecodes/Turaco-E2B-it-mt-en-wes 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="fotiecodes/Turaco-E2B-it-mt-en-wes")
    messages = [
        {
            "role": "user",
            "content": [
                {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
                {"type": "text", "text": "What animal is on the candy?"}
            ]
        },
    ]
    pipe(text=messages)
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMultimodalLM
    
    processor = AutoProcessor.from_pretrained("fotiecodes/Turaco-E2B-it-mt-en-wes")
    model = AutoModelForMultimodalLM.from_pretrained("fotiecodes/Turaco-E2B-it-mt-en-wes", device_map="auto")
    messages = [
        {
            "role": "user",
            "content": [
                {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
                {"type": "text", "text": "What animal is on the candy?"}
            ]
        },
    ]
    inputs = processor.apply_chat_template(
    	messages,
    	add_generation_prompt=True,
    	tokenize=True,
    	return_dict=True,
    	return_tensors="pt",
    ).to(model.device)
    
    outputs = model.generate(**inputs, max_new_tokens=40)
    print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use fotiecodes/Turaco-E2B-it-mt-en-wes with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf fotiecodes/Turaco-E2B-it-mt-en-wes:Q8_0
    # Run inference directly in the terminal:
    llama cli -hf fotiecodes/Turaco-E2B-it-mt-en-wes:Q8_0
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf fotiecodes/Turaco-E2B-it-mt-en-wes:Q8_0
    # Run inference directly in the terminal:
    llama cli -hf fotiecodes/Turaco-E2B-it-mt-en-wes:Q8_0
    Use pre-built binary
    # Download pre-built binary from:
    # https://github.com/ggerganov/llama.cpp/releases
    # Start a local OpenAI-compatible server with a web UI:
    ./llama-server -hf fotiecodes/Turaco-E2B-it-mt-en-wes:Q8_0
    # Run inference directly in the terminal:
    ./llama-cli -hf fotiecodes/Turaco-E2B-it-mt-en-wes:Q8_0
    Build from source code
    git clone https://github.com/ggerganov/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-server llama-cli
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama-server -hf fotiecodes/Turaco-E2B-it-mt-en-wes:Q8_0
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf fotiecodes/Turaco-E2B-it-mt-en-wes:Q8_0
    Use Docker
    docker model run hf.co/fotiecodes/Turaco-E2B-it-mt-en-wes:Q8_0
  • LM Studio
  • Jan
  • Ollama

    How to use fotiecodes/Turaco-E2B-it-mt-en-wes with Ollama:

    ollama run hf.co/fotiecodes/Turaco-E2B-it-mt-en-wes:Q8_0
  • Unsloth Desktop
  • Docker Model Runner

    How to use fotiecodes/Turaco-E2B-it-mt-en-wes with Docker Model Runner:

    docker model run hf.co/fotiecodes/Turaco-E2B-it-mt-en-wes:Q8_0
  • Lemonade

    How to use fotiecodes/Turaco-E2B-it-mt-en-wes with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull fotiecodes/Turaco-E2B-it-mt-en-wes:Q8_0
    Run and chat with the model
    lemonade run user.Turaco-E2B-it-mt-en-wes-Q8_0
    List all available models
    lemonade list
  • Atomic Chat
Turaco-E2B-it-mt-en-wes
15.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
fotiecodes's picture
fotiecodes
Update README.md
ca5a377 verified 5 months ago
  • .gitattributes
    1.64 kB
    Upload Turaco-E2B-it-mt-en-wes-q8_0.gguf with huggingface_hub 5 months ago
  • README.md
    5.1 kB
    Update README.md 5 months ago
  • Turaco-E2B-it-mt-en-wes-q8_0.gguf
    4.95 GB
    xet
    Upload Turaco-E2B-it-mt-en-wes-q8_0.gguf with huggingface_hub 5 months ago
  • chat_template.jinja
    1.5 kB
    (Trained with Unsloth) 5 months ago
  • config.json
    5.95 kB
    (Trained with Unsloth) 5 months ago
  • model.safetensors
    10.2 GB
    xet
    Upload of finetuned Turaco-E2B-it model 5 months ago
  • processor_config.json
    1.69 kB
    (Trained with Unsloth) 5 months ago
  • tokenizer.json
    32.2 MB
    xet
    (Trained with Unsloth) 5 months ago
  • tokenizer_config.json
    4.24 kB
    (Trained with Unsloth) 5 months ago