AlexWortega / FlanFred

huggingface.co
Total runs: 9
24-hour runs: 0
7-day runs: -1
30-day runs: 1
Model's Last Updated: July 29 2023
text-generation

Introduction of FlanFred

Model Details of FlanFred

import torch
import transformers

use_cuda = torch.cuda.is_available()
device = torch.device("cuda" if use_cuda else "cpu")

t5_tokenizer = transformers.GPT2Tokenizer.from_pretrained("AlexWortega/FlanFred")
t5_model = transformers.T5ForConditionalGeneration.from_pretrained("AlexWortega/FlanFred")

def generate_text(input_str, tokenizer, model, device, max_length=50):
    # encode the input string to model's input_ids
    input_ids = tokenizer.encode(input_str, return_tensors='pt').to(device)
    
    # generate text
    with torch.no_grad():
        outputs = model.generate(input_ids=input_ids, max_length=max_length, num_return_sequences=1, temperature=0.7, do_sample=True)
    
    # decode the output and return the text
    return tokenizer.decode(outputs[0], skip_special_tokens=True)

# usage:
input_str = "Hello, how are you?"
print(generate_text(input_str, t5_tokenizer, t5_model, device))

Metrics:

| Metric        | flanfred | siberianfred  | fred  |
| ------------- | ----- |------ |----- |
| xnli_en       | 0.51   |0.49  |0.041 |
| xnli_ru       | 0.71   |0.62 |0.55 |
| xwinograd_ru  | 0.66   |0.51 |0.54 |

Citation

@MISC{AlexWortega/flan_translated_300k,
    author  = {Pavel Ilin, Ksenia Zolian,Ilya kuleshov, Egor Kokush, Aleksandr Nikolich},
    title   = {Russian Flan translated},
    url     = {https://huggingface.co/datasets/AlexWortega/flan_translated_300k},
    year    = 2023
}

Runs of AlexWortega FlanFred on huggingface.co

9
Total runs
0
24-hour runs
-1
3-day runs
-1
7-day runs
1
30-day runs

More Information About FlanFred huggingface.co Model

More FlanFred license Visit here:

https://choosealicense.com/licenses/mit

FlanFred huggingface.co

FlanFred huggingface.co is an AI model on huggingface.co that provides FlanFred's model effect (), which can be used instantly with this AlexWortega FlanFred model. huggingface.co supports a free trial of the FlanFred model, and also provides paid use of the FlanFred. Support call FlanFred model through api, including Node.js, Python, http.

AlexWortega FlanFred online free

FlanFred huggingface.co is an online trial and call api platform, which integrates FlanFred's modeling effects, including api services, and provides a free online trial of FlanFred, you can try FlanFred online for free by clicking the link below.

AlexWortega FlanFred online free url in huggingface.co:

https://huggingface.co/AlexWortega/FlanFred

FlanFred install

FlanFred is an open source model from GitHub that offers a free installation service, and any user can find FlanFred on GitHub to install. At the same time, huggingface.co provides the effect of FlanFred install, users can directly use FlanFred installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

FlanFred install url in huggingface.co:

https://huggingface.co/AlexWortega/FlanFred

Url of FlanFred

Provider of FlanFred huggingface.co

AlexWortega
ORGANIZATIONS

Other API from AlexWortega

huggingface.co

Total runs: 1.7K
Run Growth: -3.2K
Growth Rate: -190.65%
Updated:June 25 2026
huggingface.co

Total runs: 303
Run Growth: 12
Growth Rate: 3.96%
Updated:September 05 2026
huggingface.co

Total runs: 66
Run Growth: 0
Growth Rate: 0.00%
Updated:November 16 2024
huggingface.co

Total runs: 40
Run Growth: 35
Growth Rate: 87.50%
Updated:May 02 2024
huggingface.co

Total runs: 24
Run Growth: 0
Growth Rate: 0.00%
Updated:November 16 2024
huggingface.co

Total runs: 21
Run Growth: 13
Growth Rate: 61.90%
Updated:January 20 2024
huggingface.co

Total runs: 18
Run Growth: -8
Growth Rate: -44.44%
Updated:August 03 2023
huggingface.co

Total runs: 12
Run Growth: 3
Growth Rate: 27.27%
Updated:February 02 2023
huggingface.co

Total runs: 11
Run Growth: 5
Growth Rate: 45.45%
Updated:February 02 2023
huggingface.co

Total runs: 9
Run Growth: 0
Growth Rate: 0.00%
Updated:January 21 2024
huggingface.co

Total runs: 9
Run Growth: 1
Growth Rate: 11.11%
Updated:January 14 2024
huggingface.co

Total runs: 7
Run Growth: -3
Growth Rate: -42.86%
Updated:November 05 2022
huggingface.co

Total runs: 6
Run Growth: 2
Growth Rate: 33.33%
Updated:September 22 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 22 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 01 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 08 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 28 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 03 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 18 2024