Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

akhooli
/
llama31ft

PEFT
Safetensors
Transformers
Arabic
text-generation-inference
unsloth
llama
trl
classical Arabic poetry
Model card Files Files and versions
xet
Community

Instructions to use akhooli/llama31ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use akhooli/llama31ft with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("akhooli/llama31pretrained2")
    model = PeftModel.from_pretrained(base_model, "akhooli/llama31ft")
  • Transformers

    How to use akhooli/llama31ft with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("akhooli/llama31ft", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Unsloth Studio new

    How to use akhooli/llama31ft 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 akhooli/llama31ft 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 akhooli/llama31ft to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for akhooli/llama31ft to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="akhooli/llama31ft",
        max_seq_length=2048,
    )
llama31ft
177 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
akhooli's picture
akhooli
Update README.md
04790e4 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.89 kB
    Update README.md over 1 year ago
  • adapter_config.json
    725 Bytes
    Upload model trained with Unsloth over 1 year ago
  • adapter_model.safetensors
    168 MB
    xet
    Upload model trained with Unsloth over 1 year ago
  • special_tokens_map.json
    459 Bytes
    Upload model trained with Unsloth over 1 year ago
  • tokenizer.json
    9.09 MB
    Upload model trained with Unsloth over 1 year ago
  • tokenizer_config.json
    50.6 kB
    Upload model trained with Unsloth over 1 year ago