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

episod
/
tt-tnt

Text Generation
Transformers
Safetensors
English
llama
blackhole
p150
tenstorrent
trained-from-scratch
tt-kernel-cache
tt-metal
ttml
vllm
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use episod/tt-tnt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use episod/tt-tnt with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="episod/tt-tnt")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("episod/tt-tnt")
    model = AutoModelForCausalLM.from_pretrained("episod/tt-tnt", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use episod/tt-tnt with vLLM:

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

    How to use episod/tt-tnt 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 "episod/tt-tnt" \
        --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": "episod/tt-tnt",
    		"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 "episod/tt-tnt" \
            --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": "episod/tt-tnt",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use episod/tt-tnt with Docker Model Runner:

    docker model run hf.co/episod/tt-tnt
tt-tnt
46.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 22 commits
episod's picture
episod
Restore model-card front matter clobbered by tt-kernel tag_repo
01bd6a8 verified 3 days ago
  • vllm_bundle
    tt-kernel push tt-tnt (vllm) 3 days ago
  • .gitattributes
    1.52 kB
    initial commit 6 days ago
  • README.md
    17 kB
    Restore model-card front matter clobbered by tt-kernel tag_repo 3 days ago
  • config.json
    466 Bytes
    Upload tt-tnt HF artifact (config, weights, tokenizer) 3 days ago
  • generation_config.json
    102 Bytes
    Upload tt-nanollama3 HF artifact (config, weights, tokenizer) 6 days ago
  • model.safetensors
    44.1 MB
    xet
    Upload tt-tnt HF artifact (config, weights, tokenizer) 3 days ago
  • special_tokens_map.json
    96 Bytes
    Upload tt-nanollama3 HF artifact (config, weights, tokenizer) 6 days ago
  • tokenizer.json
    2.25 MB
    tt-tnt-v1: first run on the nine-source corpus (10,787 steps, seq_len 512, val 4.2203) 4 days ago
  • tokenizer_config.json
    995 Bytes
    Upload tt-nanollama3 HF artifact (config, weights, tokenizer) 6 days ago
  • tt_kernel_manifest.json
    1.74 kB
    tt-kernel push tt-tnt (vllm) 3 days ago