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

  • Log In
  • Sign Up

Diluzx
/
codellama-7b

Transformers
Safetensors
English
text-generation-inference
unsloth
llama
trl
Model card Files Files and versions
xet
Community

Instructions to use Diluzx/codellama-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Diluzx/codellama-7b with Transformers:

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

    How to use Diluzx/codellama-7b 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 Diluzx/codellama-7b 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 Diluzx/codellama-7b to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for Diluzx/codellama-7b to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="Diluzx/codellama-7b",
        max_seq_length=2048,
    )
codellama-7b
162 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Diluzx's picture
Diluzx
Trained with Unsloth
8c4183c verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    577 Bytes
    Upload README.md with huggingface_hub almost 2 years ago
  • adapter_config.json
    734 Bytes
    Upload model trained with Unsloth almost 2 years ago
  • adapter_model.safetensors
    160 MB
    xet
    Upload model trained with Unsloth almost 2 years ago
  • special_tokens_map.json
    717 Bytes
    Trained with Unsloth almost 2 years ago
  • tokenizer.json
    1.84 MB
    Trained with Unsloth almost 2 years ago
  • tokenizer.model
    500 kB
    xet
    Trained with Unsloth almost 2 years ago
  • tokenizer_config.json
    2.53 kB
    Trained with Unsloth almost 2 years ago