Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

athenista
/
slm-tavenel-362m

Text Generation
Transformers
Safetensors
English
French
slm_tavenel
slm-tavenel
base-model
research
custom_code
muon
gated-attention
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use athenista/slm-tavenel-362m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use athenista/slm-tavenel-362m with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="athenista/slm-tavenel-362m", trust_remote_code=True)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("athenista/slm-tavenel-362m", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use athenista/slm-tavenel-362m with vLLM:

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

    How to use athenista/slm-tavenel-362m with SGLang:

    Install from pip and serve model
    # Install SGLang from pip:
    pip install sglang
    # Start the SGLang server:
    python3 -m sglang.launch_server \
        --model-path "athenista/slm-tavenel-362m" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "athenista/slm-tavenel-362m",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker images
    docker run --gpus all \
        --shm-size 32g \
        -p 30000:30000 \
        -v ~/.cache/huggingface:/root/.cache/huggingface \
        --env "HF_TOKEN=<secret>" \
        --ipc=host \
        lmsysorg/sglang:latest \
        python3 -m sglang.launch_server \
            --model-path "athenista/slm-tavenel-362m" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "athenista/slm-tavenel-362m",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use athenista/slm-tavenel-362m with Docker Model Runner:

    docker model run hf.co/athenista/slm-tavenel-362m
slm-tavenel-362m / figures
71.5 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
athenista's picture
athenista
Publish SLM-Tavenel 362M research preview with provenance and evaluation evidence
77e8b4f verified 13 days ago
  • architecture.svg
    5.22 kB
    Publish SLM-Tavenel 362M research preview with provenance and evaluation evidence 13 days ago
  • benchmarks.svg
    30 kB
    Publish SLM-Tavenel 362M research preview with provenance and evaluation evidence 13 days ago
  • data-split.svg
    16.6 kB
    Publish SLM-Tavenel 362M research preview with provenance and evaluation evidence 13 days ago
  • training.svg
    19.7 kB
    Publish SLM-Tavenel 362M research preview with provenance and evaluation evidence 13 days ago