Downloads · 30 days
13
2% of all-time downloads
SebastianSchramm/UniNER-7B-type-GPTQ-4bit-128g-actorder_True
UniNER-7B-type-GPTQ-4bit-128g-actorder_True is a text generation model from SebastianSchramm. Use it when you need the model to write or continue text. It is set up for transformers.
Downloads · 30 days
13
2% of all-time downloads
All-time downloads
589
Public
Parameters
6.7B
3.9 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors3.9 GB · 100%
How the weights are stored.
I326.5B · 96%
From the Hugging Face model README

Universal-NER/UniNER-7B-type quantized to 4bit with GPTQ and stored with 1GB shard size.
The model Universal-NER/UniNER-7B-type was quantized to 4bit, group_size 128, and act-order=True with auto-gptq integration in transformers (https://huggingface.co/blog/gptq-integration).
TODO
Prompt template is the same as for the full precision model:
prompt_template = """A virtual assistant answers questions from a user based on the provided text.
USER: Text: {input_text}
ASSISTANT: I’ve read this text.
USER: What describes {entity_name} in the text?
ASSISTANT:
"""
It is recommended to format input according to the prompt template mentioned above during inference for best results.
prompt = prompt_template.format_map({"input_text": "Cologne is a great city in Germany - maybe even the greatest ;)", "entity_name": "city"})
The model is small enough to be loaded in free-tier Colab with a T4 GPU: https://gist.github.com/sebastianschramm/2ef835fb6ba9fa54c0c7bfda9022700f
The original full precision model and its associated data are released under the CC BY-NC 4.0 license. Hence, the same license applies for the 4bit version.