Text Classification
Transformers
Safetensors
GGUF
English
t5
text2text-generation
cefr
language-learning
education
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
- Xet hash:
- e7463c1c6b7c46ae0de79b004f3d7318bf4307ef0bef4de3be2e38ae80fab160
- Size of remote file:
- 792 kB
- SHA256:
- d60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.