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

balastml
/
COPAL

Text Classification
Transformers
Safetensors
GGUF
English
t5
text2text-generation
cefr
language-learning
education
Model card Files Files and versions
xet
Community

Instructions to use balastml/COPAL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use balastml/COPAL with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="balastml/COPAL")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("balastml/COPAL")
    model = AutoModelForSeq2SeqLM.from_pretrained("balastml/COPAL")
  • llama-cpp-python

    How to use balastml/COPAL with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="balastml/COPAL",
    	filename="t5-cefr-v3-f16.gguf",
    )
    
    output = llm(
    	"Once upon a time,",
    	max_tokens=512,
    	echo=True
    )
    print(output)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use balastml/COPAL 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 balastml/COPAL:F16
    # Run inference directly in the terminal:
    llama cli -hf balastml/COPAL:F16
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf balastml/COPAL:F16
    # Run inference directly in the terminal:
    llama cli -hf balastml/COPAL:F16
    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 balastml/COPAL:F16
    # Run inference directly in the terminal:
    ./llama-cli -hf balastml/COPAL:F16
    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 balastml/COPAL:F16
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf balastml/COPAL:F16
    Use Docker
    docker model run hf.co/balastml/COPAL:F16
  • LM Studio
  • Jan
  • Ollama

    How to use balastml/COPAL with Ollama:

    ollama run hf.co/balastml/COPAL:F16
  • Unsloth Studio

    How to use balastml/COPAL with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for balastml/COPAL to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for balastml/COPAL to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for balastml/COPAL to start chatting
  • Atomic Chat new
  • Docker Model Runner

    How to use balastml/COPAL with Docker Model Runner:

    docker model run hf.co/balastml/COPAL:F16
  • Lemonade

    How to use balastml/COPAL with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull balastml/COPAL:F16
    Run and chat with the model
    lemonade run user.COPAL-F16
    List all available models
    lemonade list
COPAL
1.49 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
balastml's picture
balastml
Upload README.md
e6cd899 verified 4 days ago
  • .gitattributes
    1.63 kB
    Upload 11 files 4 days ago
  • README.md
    4.32 kB
    Upload README.md 4 days ago
  • config.json
    846 Bytes
    Upload 11 files 4 days ago
  • generation_config.json
    149 Bytes
    Upload 11 files 4 days ago
  • model.safetensors
    892 MB
    xet
    Upload 11 files 4 days ago
  • predict.py
    1.88 kB
    Upload 11 files 4 days ago
  • requirements.txt
    52 Bytes
    Upload 11 files 4 days ago
  • spiece.model
    792 kB
    xet
    Upload 11 files 4 days ago
  • t5-cefr-v3-f16.gguf
    447 MB
    xet
    Upload 11 files 4 days ago
  • t5-cefr-v3-q4_k_m.gguf
    147 MB
    xet
    Upload 11 files 4 days ago
  • tokenizer.json
    2.42 MB
    Upload 11 files 4 days ago
  • tokenizer_config.json
    2.58 kB
    Upload 11 files 4 days ago