Instructions to use gbstox/agronomYi-hermes-34B-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 gbstox/agronomYi-hermes-34B-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 gbstox/agronomYi-hermes-34B-GGUF:Q5_K_M # Run inference directly in the terminal: llama cli -hf gbstox/agronomYi-hermes-34B-GGUF:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf gbstox/agronomYi-hermes-34B-GGUF:Q5_K_M # Run inference directly in the terminal: llama cli -hf gbstox/agronomYi-hermes-34B-GGUF:Q5_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 gbstox/agronomYi-hermes-34B-GGUF:Q5_K_M # Run inference directly in the terminal: ./llama-cli -hf gbstox/agronomYi-hermes-34B-GGUF:Q5_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 gbstox/agronomYi-hermes-34B-GGUF:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf gbstox/agronomYi-hermes-34B-GGUF:Q5_K_M
Use Docker
docker model run hf.co/gbstox/agronomYi-hermes-34B-GGUF:Q5_K_M
- LM Studio
- Jan
- Ollama
How to use gbstox/agronomYi-hermes-34B-GGUF with Ollama:
ollama run hf.co/gbstox/agronomYi-hermes-34B-GGUF:Q5_K_M
- Unsloth Studio
How to use gbstox/agronomYi-hermes-34B-GGUF 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 gbstox/agronomYi-hermes-34B-GGUF 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 gbstox/agronomYi-hermes-34B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for gbstox/agronomYi-hermes-34B-GGUF to start chatting
- Docker Model Runner
How to use gbstox/agronomYi-hermes-34B-GGUF with Docker Model Runner:
docker model run hf.co/gbstox/agronomYi-hermes-34B-GGUF:Q5_K_M
- Lemonade
How to use gbstox/agronomYi-hermes-34B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull gbstox/agronomYi-hermes-34B-GGUF:Q5_K_M
Run and chat with the model
lemonade run user.agronomYi-hermes-34B-GGUF-Q5_K_M
List all available models
lemonade list
- Atomic Chat
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: NousResearch/Nous-Hermes-2-Yi-34B
|
| 3 |
+
datasets:
|
| 4 |
+
- gbstox/agronomy-resources
|
| 5 |
+
tags:
|
| 6 |
+
- Yi-34B
|
| 7 |
+
- instruct
|
| 8 |
+
- finetune
|
| 9 |
+
- agriculture
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# AgronomYi-hermes-34B
|
| 15 |
+
|
| 16 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/63042a3d7373aacccd896484/TwXNxFw8zSLuWjiYL41Bj.jpeg" width="500" >
|
| 17 |
+
|
| 18 |
+
# About
|
| 19 |
+
AgronomYi is a fine tune of [Nous-Hermes-2-Yi-34B](https://huggingface.co/NousResearch/Nous-Hermes-2-Yi-34B), which uses Yi-34B as the base model.
|
| 20 |
+
I fine tuned this with agronomy data (exclusively textbooks & university extension guides), full training data set [here](https://huggingface.co/datasets/gbstox/agronomy-resources)).
|
| 21 |
+
AgronomYi outperforms all models on the benchmark except for gpt-4, and consistently beats the base model by 7-9% and the hermes fine tune by 3-5%. I take this to mean that even better results can be acheived with additional fine tuning, and larger models tend to perform better in general.
|
| 22 |
+
|
| 23 |
+
# Benchmark comparison
|
| 24 |
+
[benchmark info here](https://github.com/gbstox/agronomy_llm_benchmarking)
|
| 25 |
+
|
| 26 |
+
| Model Name | Score | Date Tested |
|
| 27 |
+
|------------|-------|-------------|
|
| 28 |
+
| gpt-4 | 85.71% | 2024-01-15 |
|
| 29 |
+
| agronomYi-hermes-34b | 79.05% | 2024-01-15 |
|
| 30 |
+
| mistral-medium | 77.14% | 2024-01-15 |
|
| 31 |
+
| nous-hermes-yi-34b | 76.19% | 2024-01-15 |
|
| 32 |
+
| mixtral-8x7b-instruct | 72.38% | 2024-01-15 |
|
| 33 |
+
| claude-2 | 72.38% | 2024-01-15 |
|
| 34 |
+
| yi-34b-chat | 71.43% | 2024-01-15 |
|
| 35 |
+
| norm | 69.52% | 2024-01-17 |
|
| 36 |
+
| openhermes-2.5-mistral-7b | 69.52% | 2024-01-15 |
|
| 37 |
+
| gpt-3.5-turbo | 67.62% | 2024-01-15 |
|
| 38 |
+
| mistral-7b-instruct | 61.9% | 2024-01-15 |
|