🚀 azimjon/Llama-3.1-8B-Instuct-Uz-Q8_0-GGUF
本模型是使用llama.cpp,通过ggml.ai的GGUF-my-repo空间,从behbudiy/Llama-3.1-8B-Instuct-Uz
转换为GGUF格式的。有关该模型的更多详细信息,请参考原始模型卡片。
🚀 快速开始
📦 安装指南
通过brew安装llama.cpp(适用于Mac和Linux)
brew install llama.cpp
💻 使用示例
基础用法
可以调用llama.cpp的服务器或命令行界面(CLI)。
CLI方式:
llama-cli --hf-repo azimjon/Llama-3.1-8B-Instuct-Uz-Q8_0-GGUF --hf-file llama-3.1-8b-instuct-uz-q8_0.gguf -p "The meaning to life and the universe is"
服务器方式:
llama-server --hf-repo azimjon/Llama-3.1-8B-Instuct-Uz-Q8_0-GGUF --hf-file llama-3.1-8b-instuct-uz-q8_0.gguf -c 2048
高级用法
你也可以直接通过Llama.cpp仓库中列出的使用步骤来使用此检查点。
步骤1:从GitHub克隆llama.cpp
git clone https://github.com/ggerganov/llama.cpp
步骤2:进入llama.cpp文件夹,并使用LLAMA_CURL=1
标志以及其他特定于硬件的标志(例如,在Linux上使用Nvidia GPU时使用LLAMA_CUDA=1
)进行编译。
cd llama.cpp && LLAMA_CURL=1 make
步骤3:通过主二进制文件运行推理
./llama-cli --hf-repo azimjon/Llama-3.1-8B-Instuct-Uz-Q8_0-GGUF --hf-file llama-3.1-8b-instuct-uz-q8_0.gguf -p "The meaning to life and the universe is"
或者
./llama-server --hf-repo azimjon/Llama-3.1-8B-Instuct-Uz-Q8_0-GGUF --hf-file llama-3.1-8b-instuct-uz-q8_0.gguf -c 2048
📚 详细文档
模型信息
属性 |
详情 |
基础模型 |
behbudiy/Llama-3.1-8B-Instuct-Uz |
数据集 |
yahma/alpaca-cleaned、behbudiy/alpaca-cleaned-uz、behbudiy/translation-instruction |
语言 |
uz、en |
库名称 |
transformers |
许可证 |
llama3.1 |
评估指标 |
bleu、comet、accuracy |
任务类型 |
文本生成 |
标签 |
llama、text-generation-inference、summarization、translation、question-answering、llama-cpp、gguf-my-repo |
📄 许可证
本模型使用的许可证为llama3.1。