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

llama-farm
/
fda-task-classifier-gguf

Text Generation
GGUF
English
ollama
fda
regulatory
task-extraction
llama
Model card Files Files and versions
xet
Community

Instructions to use llama-farm/fda-task-classifier-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • llama-cpp-python

    How to use llama-farm/fda-task-classifier-gguf with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="llama-farm/fda-task-classifier-gguf",
    	filename="model.gguf",
    )
    
    output = llm(
    	"Once upon a time,",
    	max_tokens=512,
    	echo=True
    )
    print(output)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • llama.cpp

    How to use llama-farm/fda-task-classifier-gguf with llama.cpp:

    Install from brew
    brew install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama-server -hf llama-farm/fda-task-classifier-gguf
    # Run inference directly in the terminal:
    llama-cli -hf llama-farm/fda-task-classifier-gguf
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama-server -hf llama-farm/fda-task-classifier-gguf
    # Run inference directly in the terminal:
    llama-cli -hf llama-farm/fda-task-classifier-gguf
    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 llama-farm/fda-task-classifier-gguf
    # Run inference directly in the terminal:
    ./llama-cli -hf llama-farm/fda-task-classifier-gguf
    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 llama-farm/fda-task-classifier-gguf
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf llama-farm/fda-task-classifier-gguf
    Use Docker
    docker model run hf.co/llama-farm/fda-task-classifier-gguf
  • LM Studio
  • Jan
  • vLLM

    How to use llama-farm/fda-task-classifier-gguf with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "llama-farm/fda-task-classifier-gguf"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "llama-farm/fda-task-classifier-gguf",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/llama-farm/fda-task-classifier-gguf
  • Ollama

    How to use llama-farm/fda-task-classifier-gguf with Ollama:

    ollama run hf.co/llama-farm/fda-task-classifier-gguf
  • Unsloth Studio new

    How to use llama-farm/fda-task-classifier-gguf 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 llama-farm/fda-task-classifier-gguf 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 llama-farm/fda-task-classifier-gguf to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for llama-farm/fda-task-classifier-gguf to start chatting
  • Docker Model Runner

    How to use llama-farm/fda-task-classifier-gguf with Docker Model Runner:

    docker model run hf.co/llama-farm/fda-task-classifier-gguf
  • Lemonade

    How to use llama-farm/fda-task-classifier-gguf with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull llama-farm/fda-task-classifier-gguf
    Run and chat with the model
    lemonade run user.fda-task-classifier-gguf-{{QUANT_TAG}}
    List all available models
    lemonade list
fda-task-classifier-gguf
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
rgthelen's picture
rgthelen
Upload USAGE.md with huggingface_hub
fff9c06 verified 7 months ago
  • .gitattributes
    1.57 kB
    Upload model.gguf with huggingface_hub 7 months ago
  • Modelfile
    1.31 kB
    Upload Modelfile with huggingface_hub 7 months ago
  • README.md
    6.28 kB
    Upload README.md with huggingface_hub 7 months ago
  • USAGE.md
    3.19 kB
    Upload USAGE.md with huggingface_hub 7 months ago
  • model.gguf
    386 MB
    xet
    Upload model.gguf with huggingface_hub 7 months ago
  • model_info.json
    354 Bytes
    Upload model_info.json with huggingface_hub 7 months ago