How to use from
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 CineAI/Llama32-3B-CoT-Camel-Unsloth 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 CineAI/Llama32-3B-CoT-Camel-Unsloth to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required
# Open https://huggingface.co/spaces/unsloth/studio in your browser
# Search for CineAI/Llama32-3B-CoT-Camel-Unsloth to start chatting
Load model with FastModel
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
    model_name="CineAI/Llama32-3B-CoT-Camel-Unsloth",
    max_seq_length=2048,
)
Quick Links

This model is a fine-tuned version of unsloth/Llama-3.2-3B-bnb-4bit and was fine-tuned using a proprietary CoT dataset created with Camel AI, with Unsloth used to fine-tuned the model.

Training config

  • LoRA Rank 16
  • Max sequence length 2048
  • Max steps 60
  • Learning rate 2e-4

Limitations

  • The model has limitations due to the small size of the model and the small size of the dataset

Way to use model

You can use the model through the Unsloth FastLanguageModel interface, which boosts the model execution speed by 2 times

    model, tokenizer = FastLanguageModel.from_pretrained(
        model_name     = "model",
        max_seq_length = 2048,
        dtype          = dtype,
        load_in_4bit   = load_in_4bit,
    )

    alpaca_prompt = """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
    ## Instruction:
    {}
    
    ## Input:
    {}
    
    ## Response:
    {}
    """

    FastLanguageModel.for_inference(model)

    inputs = tokenizer(
        [
            alpaca_prompt.format(
                test_questions[0],
                "",
                "",
            )
        ],
        return_tensors="pt"
    ).to("cuda")
    
    outputs = model.generate(
        **inputs,
        max_new_tokens=4096,
        use_cache=True
    )
    
    decoded_outputs = tokenizer.batch_decode(outputs, skip_special_tokens=True)
    print(decoded_outputs[0])

Uploaded model

  • Developed by: CineAI
  • License: apache-2.0
  • Finetuned from model : unsloth/Llama-3.2-3B-bnb-4bit

This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for CineAI/Llama32-3B-CoT-Camel-Unsloth

Finetuned
(135)
this model

Dataset used to train CineAI/Llama32-3B-CoT-Camel-Unsloth

Collection including CineAI/Llama32-3B-CoT-Camel-Unsloth