Instructions to use RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf:Q4_K_M
Use Docker
docker model run hf.co/RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf with Ollama:
ollama run hf.co/RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf with Docker Model Runner:
docker model run hf.co/RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf:Q4_K_M
- Lemonade
How to use RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RichardErkhov/tyson0420_-_stack_codellama-7b-inst-gguf:Q4_K_M
Run and chat with the model
lemonade run user.tyson0420_-_stack_codellama-7b-inst-gguf-Q4_K_M
List all available models
lemonade list
- Atomic Chat
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Quantization made by Richard Erkhov.
stack_codellama-7b-inst - GGUF
- Model creator: https://huggingface.co/tyson0420/
- Original model: https://huggingface.co/tyson0420/stack_codellama-7b-inst/
Original model description:
library_name: transformers tags: - code license: bigscience-openrail-m datasets: - tyson0420/stackexchange-4dpo-filby-clang-keywords language: - en metrics: - code_eval
Model Card for Model ID
Model Details
Evaluating generations... { "humaneval": { "pass@1": 0.32499999999999996, "pass@10": 0.4329268292682927 }, "config": { "prefix": "", "do_sample": true, "temperature": 0.2, "top_k": 0, "top_p": 0.95, "n_samples": 10, "eos": "<|endoftext|>", "seed": 0, "model": "tyson0420/stack_codellama-7b-inst", "modeltype": "causal", "peft_model": null, "revision": null, "use_auth_token": false, "trust_remote_code": false, "tasks": "humaneval", "instruction_tokens": null, "batch_size": 10, "max_length_generation": 512, "precision": "fp32", "load_in_8bit": false, "load_in_4bit": false, "left_padding": false, "limit": null, "limit_start": 0, "save_every_k_tasks": -1, "postprocess": true, "allow_code_execution": true, "generation_only": false, "load_generations_path": null, "load_data_path": null, "metric_output_path": "evaluation_results.json", "save_generations": false, "load_generations_intermediate_paths": null, "save_generations_path": "generations.json", "save_references": false, "save_references_path": "references.json", "prompt": "prompt", "max_memory_per_gpu": null, "check_references": false } }
Model Description
This is the model card of a ๐ค transformers model that has been pushed on the Hub. This model card has been automatically generated.
- Developed by: [tyson0420]
- Downloads last month
- 397
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit