SuperAPIAI Directory

FLOR-1.3B

huggingface.co · AI developer platforms

FLOR-1.3B is a 1.3B-parameter Transformer causal language model released by the Language Technology Unit of the Barcelona Supercomputing Center for Catalan, Spanish, and English. It is language-adapted from BLOOM-1.7B: it replaces the tokenizer and vocabulary with a self-trained BPE tokenizer and vocabulary, adjusts the embedding layer, and continues pre-training with 26B tokens. The model can be used for text generation and can also be fine-tuned for specific scenarios. The official notice states that the model is deprecated, no longer actively maintained or supported, and recommends visiting BSC-LT to obtain the latest model; the repository requires login and consent to share Hugging Face information before access. The model is released under the Apache 2.0 license; its bias and toxicity have not yet been officially estimated, and users should assess and mitigate risks themselves.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsWeb

About this tool

FLOR-1.3B is a Transformer-based causal language model with 1.3B parameters, aimed at Catalan, Spanish, and English. The model card explains that it was obtained by language-adapting BLOOM-1.7B: first, its own BPE tokenizer was trained for Catalan, Spanish, and English and used to replace BLOOM's original tokenizer and vocabulary, which reduced the size of the original embedding layer and compressed the model parameters from 1.7B to 1.3B; then, for tokens shared by the original vocabulary and the target vocabulary, the corresponding embeddings were used for initialization; for tokens not in BLOOM's original vocabulary, they were initialized with the average of all embeddings; finally, building on the BLOOM-1.7B weights, the adapted tokenizer, and embeddings, continued training was performed on a mixed corpus.

Regarding main capabilities and uses, the model card explicitly states that FLOR-1.3B can be used directly only for causal language modeling, can perform text generation tasks, and can be fine-tuned for specific scenarios. The materials do not provide specific industry application cases, product integration methods, or generation performance data.

Regarding training, the corpus used by the model is the same as that of Ǎguila-7B, including multiple corpora collected from web crawling and public domain data, totaling 26B tokens. In the training data, the amount of Catalan and Spanish text is the same, while English data is less; the model card mentions that there is a language distribution table, but the provided content does not include the table values. Training was performed on the Cerebras CS-2 system using its cs-1.9.1 software version. The listed hyperparameters include: train_batch_size 60, eval_batch_size 60, optimizer AdamW, betas (0.9,0.95), weight_decay_rate 0.1, num_epochs 1.0; the learning rate schedule includes Linear (0.0 to 4.1e-5, 3050 steps), CosineDecay (4.1e-5 to 3.4e-6, 209133 steps), and Constant (2.2e-6).

Regarding evaluation, the model card states that FLOR-1.3B was evaluated using EleutherAI's LM Evaluation Harness in a 5-shot setting, with benchmark tasks covering Catalan, Spanish, and English, and with particular emphasis on Catalan datasets. The evaluation domains and datasets include: reading comprehension Belebele; question answering XQuAD, CatalanQA, CoQCat; natural language inference XNLI and its Catalan translations XNLI-ca, TE-ca; paraphrase identification PAWS-X and its Catalan translations PAWS-ca, Parafraseja; commonsense reasoning COPA and its Catalan translation COPA-ca; translation FLoRes. The comparison baselines are multilingual and English open-source 1.3B models: mGPT-1.3B, GPT-Neo-1.3B, Pythia-1.4B, OPT-1.3B, Falcon-rw-1.3B, and Cerebras-GPT-1.3B. The material does not provide specific evaluation scores.

Regarding usage and access, the model is hosted on Hugging Face. The repository is publicly accessible, but users must accept the terms and agree to share Hugging Face information before they can access the model files and content; login or registration is required to view the terms and access the model content. The model card does not provide installation commands, inference code, or specific invocation steps.

Regarding applicable scenarios, according to the model card, it can be used for text generation in Catalan, Spanish, and English, or fine-tuned in specific scenarios; specific deployment methods, performance, and industry adaptation effects are not yet provided.

Regarding limitations and risks, the model card states that no measures had been taken at the time of submission to estimate bias and toxicity in the model, but the corpus was collected by scraping multiple web sources, and the model may contain bias. The official plan is to conduct related research in the future, and if completed, the model card will be updated. The model card also notes that third parties deploying or providing services should be responsible for mitigating usage risks themselves and comply with applicable regulations, including AI-related regulations; the Barcelona Supercomputing Center is not responsible for any results arising from third-party use.

Regarding status and license, a notice at the top of the model card states that the model is deprecated and no longer actively maintained or supported, and recommends visiting https://huggingface.co/BSC-LT to obtain the latest model with enhanced features, better performance, and ongoing support. The model is released by the Language Technologies Unit of the Barcelona Supercomputing Center, Copyright(c) 2023 by Language Technologies Unit, Barcelona Supercomputing Center, and is licensed under the Apache License, Version 2.0. This work is promoted and funded by the Government of Catalonia through the Aina project. The contact email is langtech@bsc.es.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools