Transformers
GGUF
English
text-generation-inference
unsloth
llama
trl
sft
agriculture
climate
farming
llama-cpp
gguf-my-repo
conversational
Instructions to use CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-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 CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0
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 CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0
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 CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0
Use Docker
docker model run hf.co/CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0
- LM Studio
- Jan
- Ollama
How to use CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF with Ollama:
ollama run hf.co/CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0
- Unsloth Desktop
- Pi
How to use CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF with Docker Model Runner:
docker model run hf.co/CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0
- Lemonade
How to use CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0
Run and chat with the model
lemonade run user.llama-3.1-natural-farmer-Q8_0-GGUF-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "CopyleftCultivars/llama-3.1-natural-farmer-Q8_0-GGUF:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,6 +23,29 @@ datasets:
|
|
| 23 |
This model was converted to GGUF format from [`CopyleftCultivars/llama-3.1-natural-farmer-16bit`](https://huggingface.co/CopyleftCultivars/llama-3.1-natural-farmer-16bit) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
| 24 |
Refer to the [original model card](https://huggingface.co/CopyleftCultivars/llama-3.1-natural-farmer-16bit) for more details on the model.
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
## Use with llama.cpp
|
| 27 |
Install llama.cpp through brew (works on Mac and Linux)
|
| 28 |
|
|
|
|
| 23 |
This model was converted to GGUF format from [`CopyleftCultivars/llama-3.1-natural-farmer-16bit`](https://huggingface.co/CopyleftCultivars/llama-3.1-natural-farmer-16bit) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
| 24 |
Refer to the [original model card](https://huggingface.co/CopyleftCultivars/llama-3.1-natural-farmer-16bit) for more details on the model.
|
| 25 |
|
| 26 |
+
|
| 27 |
+
# Llama 3.1 Natural Farmer V1 by Copyleft Cultivars (8B)
|
| 28 |
+
|
| 29 |
+

|
| 30 |
+
|
| 31 |
+
- **Developed by:** Caleb DeLeeuw (Solshine), Copyleft Cultivars (a nonprofit, protecting and preserving vulnerable plants)
|
| 32 |
+
- **License:** Llama3.1
|
| 33 |
+
- **Finetuned from model :** unsloth/meta-llama-3.1-8b-instruct-bnb-4bit
|
| 34 |
+
|
| 35 |
+
Using real-world user data from a previous farmer assistant chatbot service and additional curated datasets (prioritizing sustainable regenerative organic farming practices,) this LLM was iteratively fine-tuned and tested in comparison to our previous releases (Gemma 2B Natural Farmer and Mistral 7B Natural Farmer) as well as basic benchmarking. This model was then loaded onto Hugging Face Hub in hopes it will help farmers everywhere and inspire future works.
|
| 36 |
+
|
| 37 |
+
Shout out to roger j (bhugxer) for help with the dataset and training framework.
|
| 38 |
+
|
| 39 |
+
Testing and further compiling to integrate into on-device app interfaces are ongoing. This project was created by Copyleft Cultivars, a nonprofit, in partnership with Open Nutrient Project and Evergreen State College. This project serves to democratize access to farming knowledge and support the protection of vulnerable plants.
|
| 40 |
+
|
| 41 |
+
This is V1 beta. It runs locally on Ollama with some expirimental configuring so you can use it off the grid and places where internet is not accessible (ie most farms I've been on.)
|
| 42 |
+
|
| 43 |
+
This llama 3.1 model was trained with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 44 |
+
|
| 45 |
+
This is a fine tune of Llama 3.1 and inherits all use terms and licensing from the base model. Please review the original release by Meta for more details.
|
| 46 |
+
|
| 47 |
+
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
| 48 |
+
|
| 49 |
## Use with llama.cpp
|
| 50 |
Install llama.cpp through brew (works on Mac and Linux)
|
| 51 |
|