Downloads · 30 days
11
39% of all-time downloads
RichardErkhov/ifmain_-_StableGPT4-Micro-1.6B-4bits
ifmain_-_StableGPT4-Micro-1.6B-4bits is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
11
39% of all-time downloads
All-time downloads
28
Public
Parameters
1.7B
1.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.5 GB · 99%
How the weights are stored.
U81.2B · 74%
From the Hugging Face model README
Quantization made by Richard Erkhov.
StableGPT4-Micro-1.6B - bnb 4bits
base_model: stabilityai/stablelm-2-zephyr-1_6b library_name: transformers pipeline_tag: text-generation datasets:
StableGPT4-Micro-1.6B is a conversational AI model trained on the ChatGPT chats, designed to generate text-based responses for various conversational scenarios. This model has been fine-tuned and optimized for stability and reliability, providing coherent and contextually appropriate responses across a wide range of topics.
You can interact with the StableGPT4-Micro-1.6B model by providing it with prompts in JSON format. Each prompt should include the role of the speaker ("user" or "assistant") and the text of their message.
{"role": "user", "text": "Hi"}
{"role": "assistant", "text": "Hello! How can I help you today? If you have any questions or need assistance, feel free to ask."}
{"role": "user", "text": "write hello world in c++"}
{"role": "assistant", "text": "Here's a simple `HelloWorld` program in C++:\n```cpp\n#include <iostream>\n\nint main() {\n std::cout << \"Hello, World!\" << std::endl;\n return 0;\n}\n```\nThis code uses the `<iostream>` standard library to create a `std::cout` stream and print the string \"Hello, World!\" to the standard output. The `return 0` statement indicates that the program has finished running and returns the control to the user. You can run this program on your C++ compiler's command line or integrated development environment (IDE) to see the output."}
You can use gen.py to test the model.
Please feel free to experiment with the model and provide feedback on its performance and usability.