Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,117 +1,17 @@
|
|
| 1 |
-
---
|
| 2 |
-
language:
|
| 3 |
-
- en
|
| 4 |
-
license: mit
|
| 5 |
-
library_name: transformers
|
| 6 |
-
pipeline_tag: text-generation
|
| 7 |
-
tags:
|
| 8 |
-
- fableforge
|
| 9 |
-
- agent
|
| 10 |
-
- code-generation
|
| 11 |
-
- tool-use
|
| 12 |
-
- reasoning
|
| 13 |
-
- base
|
| 14 |
-
base_model: meta-llama/Llama-2-7b-chat-hf
|
| 15 |
-
---
|
| 16 |
-
|
| 17 |
# FableForge
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
## Quick Start
|
| 22 |
-
|
| 23 |
-
```python
|
| 24 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 25 |
-
|
| 26 |
-
model_name = "fableforge-ai/FableForge"
|
| 27 |
-
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 28 |
-
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")
|
| 29 |
-
|
| 30 |
-
prompt = """You are an AI agent. Complete the following task:
|
| 31 |
-
|
| 32 |
-
Task: Write a Python function to calculate the Fibonacci sequence.
|
| 33 |
-
|
| 34 |
-
Reasoning:"""
|
| 35 |
-
|
| 36 |
-
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 37 |
-
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.6, top_p=0.9)
|
| 38 |
-
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 39 |
-
```
|
| 40 |
-
|
| 41 |
-
## Use Cases
|
| 42 |
-
|
| 43 |
-
- General-purpose agent tasks
|
| 44 |
-
- Planning and decomposition
|
| 45 |
-
- Code generation with self-verification
|
| 46 |
-
- Integration with FableForge runtime and tools
|
| 47 |
-
|
| 48 |
-
### Integration with FableForge Ecosystem
|
| 49 |
|
| 50 |
-
|
| 51 |
-
from fableforge_agent_runtime import AgentRuntime
|
| 52 |
-
from fableforge_agent_skills import SkillLibrary
|
| 53 |
|
| 54 |
-
|
| 55 |
-
model="fableforge-ai/FableForge",
|
| 56 |
-
skills=SkillLibrary.all(),
|
| 57 |
-
verification=True
|
| 58 |
-
)
|
| 59 |
|
| 60 |
-
|
| 61 |
-
print(result.output)
|
| 62 |
-
print(result.verification_score)
|
| 63 |
-
```
|
| 64 |
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
| Package | Install | Purpose |
|
| 70 |
-
|---------|---------|---------|
|
| 71 |
-
| `fableforge` | `pip install fableforge` | Unified CLI |
|
| 72 |
-
| `fableforge-anvil-agent` | `pip install fableforge-anvil-agent` | Self-verified coding agent |
|
| 73 |
-
| `fableforge-agent-swarm` | `pip install fableforge-agent-swarm` | Multi-agent orchestration |
|
| 74 |
-
| `fableforge-agent-runtime` | `pip install fableforge-agent-runtime` | Production agent runtime |
|
| 75 |
-
| `fableforge-agent-skills` | `pip install fableforge-agent-skills` | Skill library |
|
| 76 |
-
| `verifyloop` | `pip install verifyloop` | Verification loops |
|
| 77 |
-
| `reason-critic` | `pip install reason-critic` | Reasoning assessment |
|
| 78 |
-
|
| 79 |
-
## Model Details
|
| 80 |
-
|
| 81 |
-
| Attribute | Value |
|
| 82 |
-
|-----------|-------|
|
| 83 |
-
| Architecture | LlamaForCausalLM |
|
| 84 |
-
| Parameters | 7B |
|
| 85 |
-
| Hidden Size | 4096 |
|
| 86 |
-
| Layers | 32 |
|
| 87 |
-
| Attention Heads | 32 |
|
| 88 |
-
| KV Heads | 32 |
|
| 89 |
-
| Max Context | 4096 |
|
| 90 |
-
| Training Data | Fable5 agent traces + curated reasoning datasets |
|
| 91 |
-
| License | MIT |
|
| 92 |
-
|
| 93 |
-
## Limitations
|
| 94 |
-
|
| 95 |
-
- May generate incorrect code -- always use with verifyloop for critical tasks
|
| 96 |
-
- Trained primarily on English data; multilingual performance is limited
|
| 97 |
-
- Can hallucinate API signatures or tool parameters
|
| 98 |
-
- Not suitable for medical, legal, or financial advice without human review
|
| 99 |
-
|
| 100 |
-
## Citation
|
| 101 |
-
|
| 102 |
-
```bibtex
|
| 103 |
-
@misc{fableforge2024,
|
| 104 |
-
title={FableForge: Agent Orchestration via Fine-Tuned Language Models},
|
| 105 |
-
author={FableForge Team},
|
| 106 |
-
year={2024},
|
| 107 |
-
url={https://huggingface.co/fableforge-ai/FableForge}
|
| 108 |
-
}
|
| 109 |
-
```
|
| 110 |
|
| 111 |
## License
|
| 112 |
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
---
|
| 116 |
-
|
| 117 |
-
Built with hammer by the [FableForge](https://github.com/KingLabsA) team. Part of the [FableForge ecosystem](https://kinglabsa.github.io/fableforge/).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# FableForge
|
| 2 |
|
| 3 |
+
**Part of the FableForge ecosystem — open-source uncensored AI models.**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
## Status
|
|
|
|
|
|
|
| 6 |
|
| 7 |
+
This repo contains configuration files. The model weights are being trained and will be uploaded soon.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
+
## Related Models
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
+
- [ReasonCritic-7B](https://huggingface.co/fableforge-ai/ReasonCritic-7B) — Uncensored reasoning model (8 quants)
|
| 12 |
+
- [ShellWhisperer-1.5B](https://huggingface.co/fableforge-ai/ShellWhisperer-1.5B) — Ultra-fast shell assistant (8 quants)
|
| 13 |
+
- [Mythos 9B Unhinged](https://huggingface.co/King3Djbl/mythos-9b-unhinged) — Most popular uncensored model (3.5K+ downloads)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
## License
|
| 16 |
|
| 17 |
+
Apache 2.0
|
|
|
|
|
|
|
|
|
|
|
|