Instructions to use ericpolewski/TacoBeLLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ericpolewski/TacoBeLLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ericpolewski/TacoBeLLM")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ericpolewski/TacoBeLLM") model = AutoModelForCausalLM.from_pretrained("ericpolewski/TacoBeLLM") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ericpolewski/TacoBeLLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ericpolewski/TacoBeLLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ericpolewski/TacoBeLLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ericpolewski/TacoBeLLM
- SGLang
How to use ericpolewski/TacoBeLLM with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ericpolewski/TacoBeLLM" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ericpolewski/TacoBeLLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ericpolewski/TacoBeLLM" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ericpolewski/TacoBeLLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ericpolewski/TacoBeLLM with Docker Model Runner:
docker model run hf.co/ericpolewski/TacoBeLLM
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
-
This is not a Taco Bell bot. This is a bot that happens to know a lot about Taco Bell. You'll notice this because it'll keep bringing it up in conversation where it's appropriate (and often where it's not).
|
| 5 |
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |

|
| 9 |
|
|
@@ -15,6 +19,40 @@ Check out that last one. The thing apparently doesn't know it picked chihuahuas
|
|
| 15 |
|
| 16 |
The data put into the model was from their corporate website, Wikipedia, and a few recent news articles. It actually didn't make for a terrible assistant and could do things like Python scripting but would often just nose-dive into the Taco Bell data quite abruptly. I later fine-tuned on some of the [AIRIC](https://huggingface.co/ericpolewski/AIRIC-The-Mistral) data to make it less obnoxious about things like suggesting a burrito when asked to talk the user through hard feelings.
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
-
I
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
|
|
|
| 4 |
|
| 5 |
+

|
| 6 |
+
|
| 7 |
+
[4.0 BPW EXL2 Quant](https://huggingface.co/ericpolewski/TacoBeLLM-4.0bpw-exl2)
|
| 8 |
+
This is not a Taco Bell bot. This is a Llama2-13b OpenOrca-Platypus instruct bot that happens to know a lot about Taco Bell. You'll notice this because it'll keep bringing it up in conversation where it's appropriate (and often where it's not).
|
| 9 |
+
|
| 10 |
+
There were some early failures. Here's some of the very first conversations, before stabilizing it. You can see it just blurts it out:
|
| 11 |
|
| 12 |

|
| 13 |
|
|
|
|
| 19 |
|
| 20 |
The data put into the model was from their corporate website, Wikipedia, and a few recent news articles. It actually didn't make for a terrible assistant and could do things like Python scripting but would often just nose-dive into the Taco Bell data quite abruptly. I later fine-tuned on some of the [AIRIC](https://huggingface.co/ericpolewski/AIRIC-The-Mistral) data to make it less obnoxious about things like suggesting a burrito when asked to talk the user through hard feelings.
|
| 21 |
|
| 22 |
+
I expected the model to teeter between mildly helpful assistant and useless corporate bot that tells you to get tacos. But something really interesting happened. It seemed to get really curious and helpful:
|
| 23 |
+
|
| 24 |
+

|
| 25 |
+
|
| 26 |
+
It's also gotten much more subtle about recommendations:
|
| 27 |
+
|
| 28 |
+

|
| 29 |
+
|
| 30 |
+

|
| 31 |
+
|
| 32 |
+
It will dig if you aren't talkative, and often mentions it will bring up things that aren't related which I definitely did not intend:
|
| 33 |
+
|
| 34 |
+

|
| 35 |
+
|
| 36 |
+
The point of this model wasn't to make a generally useful chatbot that subtly moves the topic of conversation towards what you're having for lunch, as terrifyingly profitable as that sounds. The intent was to embed knowledge and create subject matter experts (SMEs). Which worked. You can ask it all sorts of questions about the menu, current events, some historical and financial data, etc. It's not paired with a RAG. I guess it could be. I've got some other ideas I like better.
|
| 37 |
+
|
| 38 |
+
Here's some pictures of testing out the actual intended functionality (knowledge embedding):
|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
|
| 42 |
+

|
| 43 |
+
|
| 44 |
+

|
| 45 |
+
|
| 46 |
+

|
| 47 |
+
|
| 48 |
+

|
| 49 |
+
|
| 50 |
+
It's not useless, nor particularly technical:
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
|
| 54 |
+

|
| 55 |
+
|
| 56 |
+
Partially due to limitations imposed by my data, and partially because I forgot, I didn't use stop characters so it'll often keep hallucinating fake Q/A pairs in Alpaca format from the instruct data that's fine-tuned in. Often about Taco Bell, but definitely not always. You can set a stop character of "### Instruct:" to work around that. I just don't care enough to fix it. It pretends things happened that just haven't, and it assumes a very positive relationship between the user and it with a whole fictitious history. That's likely more quirks of the AIRIC dataset, though. I have to assume this thing will not do well on benchmarks, but of course I'm going to submit it anyways. I'd be very happy if the performance didn't tank but let's be honest: I lobotomized an assistant and poured pintos and cheese in the vacancy. If people wanted to see it, I'd make an MoE model. Like a combination KFC/Pizza Hut/Taco Bell, except it's doing your homework. I am absolutely fascinated by how empathetic and curious this thing became with the proper mix of assistant training and product knowledge. Like a motivated salesperson. Or a door-to-door religion that would help you weed your garden if you let them talk about their version of God for a little.
|
| 57 |
|
| 58 |
+
I probably should've chosen a topic that would've had a more profound effect on humankind. But I couldn't think of anything and my brain went to TB. So I guess I made a robot that does that forever.
|