SAVRN
Search Contact SAVRN

Open-weight model · Question answering

UlizaLlama

by Health Jacaranda/UlizaLlama

UlizaLlama is a 7B Parameters language model that builds upon the foundation of Jacaranda/kiswallama-pretrained.

Parameters
Context4,096
Weights13.8 GB
License
AccessOpen weights
Monthly Downloads3.9k

Model Card

UlizaLlama is a 7B Parameters language model that builds upon the foundation of Jacaranda/kiswallama-pretrained. Jacaranda/kiswallama-pretrained is a large language model continually-pretrained with 321,530,045 swahili tokens and a customized tokenizer with a swahili vocabulary of 20,000 tokens to extend the capabilities of Meta/Llama2. It offers significant improvements in both encoding and decoding for Swahili text, surpassing the Swahili performance of Meta/Llama2. Moreover, Jacaranda/kiswallama-pretrained excels in providing accurate next-word completions in Swahili, a capability which Meta/Llama2 falls short of. UlizaLlama is optimized for downstream tasks, notably those demanding…

Excerpt from the card by Health.

Configuration

Architecture
LlamaForCausalLM
Context length (tokens)
4,096
Layers
32
Hidden size
4,096
Feed-forward size
11,008
Attention heads
32
Key/value heads
32
Vocabulary size
52,458
RoPE base
10000
Stored precision
float16
Model type
llama

Identity and Version

Repository
Jacaranda/UlizaLlama
Publisher
Health
Task
Question answering
Modality
Text
Library
transformers
Parameters
Not stated by the source
Languages
sw, en
Revision
6775e74bddd064bae0aef38f93423f52bb0fd00a
First published
2023-10-14
Last updated
2023-11-22

Files and Weights

10 files, 13.8 GB in total. The weights are 2 files totalling 13.8 GB in bin.

Weights2 files · 13.8 GB
Configuration4 files · 25.2 KB
Tokenizer2 files · 840.5 KB
Documentation1 file · 12.2 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
pytorch_model-00001-of-00002.binWeights10.0 GB 69235dd638fe
pytorch_model-00002-of-00002.binWeights3.8 GB 53048136009c
config.jsonConfiguration663 B
generation_config.jsonConfiguration183 B
pytorch_model.bin.index.jsonConfiguration23.9 KB
special_tokens_map.jsonConfiguration411 B
README.mdDocumentation12.2 KB
.gitattributesRepository1.5 KB
tokenizer.modelTokenizer839.7 KB 65afafd81cc1
tokenizer_config.jsonTokenizer824 B

License and Download

License
Not stated by the source
Access
Open weights, no gate
Download size
13.8 GB
Download from Health

Released by Health through its official repository on Hugging Face.

Memory Requirements

PrecisionWeights in memory
As published13.8 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About UlizaLlama

What is UlizaLlama's context length?

4,096 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Question answering

splinter-base

Tel Aviv University

Splinter-base is the pretrained model discussed in the paper Few-Shot Question Answering by Pretraining Span Selection (at ACL 2021). Its original repository can be found here. The model is case-sensitive. Note: This model doesn't contain the pretrained weights for the QASS layer (see paper for details), and therefore the QASS layer is randomly initialized upon loading it. For the model with those weights, see tau/splinter-base-qass. Splinter is a model that is pretrained in a self-supervised fashion for few-shot question answering. This means it was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an…

Open weights apache-2.0 512 tokens transformers

This model can be used for the task of question answering. The model should not be used to intentionally create hostile or alienating environments for people. Significant research has explored bias and fairness issues with language models (see, e.g., Sheng et al. (2021) and Bender et al. (2021)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. The model creators note in the associated paper: The model creators note in the associated paper: The model…

Open weights 512 tokens transformers

Model · Question answering

distilbert-onnx

Philipp Schmid

This model is a fine-tune checkpoint of DistilBERT-base-cased, fine-tuned using (a second step of) knowledge distillation on SQuAD v1.1. This model reaches a F1 score of 87.1 on the dev set (for comparison, BERT bert-base-cased version reaches a F1 score of 88.7).

Open weights apache-2.0 512 tokens transformers

Model · Question answering

roberta-base-on-cuad

Mohammed Rakib

This model can be used for the task of Question Answering on Legal Documents. Read: An Open Source Contractual Language Understanding Application Using Machine Learning for detailed information on training procedure, dataset preprocessing and evaluation. See CUAD dataset card for more information. See CUAD dataset card for more information. Used V100/P100 from Google Colab Pro Python, Transformers Mohammed Rakib in collaboration with Ezi Ozoani and the Hugging Face team Use the code below to get started with the model.

Open weights mit 514 tokens transformers