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

Harish102005
/
Qwen2.5-Coder-7B-manim

Text Generation
Transformers
Safetensors
PEFT
English
qwen2
code-generation
manim
python
animation
mathematics
unsloth
qlora
text-generation-inference
lora
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use Harish102005/Qwen2.5-Coder-7B-manim with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Harish102005/Qwen2.5-Coder-7B-manim with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="Harish102005/Qwen2.5-Coder-7B-manim")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("Harish102005/Qwen2.5-Coder-7B-manim")
    model = AutoModelForCausalLM.from_pretrained("Harish102005/Qwen2.5-Coder-7B-manim")
  • PEFT

    How to use Harish102005/Qwen2.5-Coder-7B-manim with PEFT:

    Task type is invalid.
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use Harish102005/Qwen2.5-Coder-7B-manim with vLLM:

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

    How to use Harish102005/Qwen2.5-Coder-7B-manim 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 "Harish102005/Qwen2.5-Coder-7B-manim" \
        --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": "Harish102005/Qwen2.5-Coder-7B-manim",
    		"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 "Harish102005/Qwen2.5-Coder-7B-manim" \
            --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": "Harish102005/Qwen2.5-Coder-7B-manim",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Unsloth Studio

    How to use Harish102005/Qwen2.5-Coder-7B-manim 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 Harish102005/Qwen2.5-Coder-7B-manim 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 Harish102005/Qwen2.5-Coder-7B-manim to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for Harish102005/Qwen2.5-Coder-7B-manim to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="Harish102005/Qwen2.5-Coder-7B-manim",
        max_seq_length=2048,
    )
  • Docker Model Runner

    How to use Harish102005/Qwen2.5-Coder-7B-manim with Docker Model Runner:

    docker model run hf.co/Harish102005/Qwen2.5-Coder-7B-manim
Qwen2.5-Coder-7B-manim
15.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
Harish102005's picture
Harish102005
Remove quantization config and fix vocab size
30766ae verified 8 months ago
  • .gitattributes
    1.57 kB
    (Trained with Unsloth) 8 months ago
  • README.md
    7.58 kB
    Update README.md 8 months ago
  • added_tokens.json
    632 Bytes
    (Trained with Unsloth) 8 months ago
  • config.json
    705 Bytes
    Remove quantization config and fix vocab size 8 months ago
  • generation_config.json
    274 Bytes
    Upload generation_config.json with huggingface_hub 8 months ago
  • merges.txt
    1.67 MB
    (Trained with Unsloth) 8 months ago
  • model-00001-of-00004.safetensors
    4.88 GB
    xet
    (Trained with Unsloth) 8 months ago
  • model-00002-of-00004.safetensors
    4.93 GB
    xet
    (Trained with Unsloth) 8 months ago
  • model-00003-of-00004.safetensors
    4.33 GB
    xet
    (Trained with Unsloth) 8 months ago
  • model-00004-of-00004.safetensors
    1.09 GB
    xet
    (Trained with Unsloth) 8 months ago
  • model.safetensors.index.json
    27.8 kB
    (Trained with Unsloth) 8 months ago
  • special_tokens_map.json
    616 Bytes
    (Trained with Unsloth) 8 months ago
  • tokenizer.json
    11.4 MB
    xet
    (Trained with Unsloth) 8 months ago
  • tokenizer_config.json
    4.9 kB
    (Trained with Unsloth) 8 months ago
  • vocab.json
    2.78 MB
    (Trained with Unsloth) 8 months ago