mav23 / SeqGPT-560M-GGUF

huggingface.co
Total runs: 240
24-hour runs: 0
7-day runs: -38
30-day runs: 75
Model's Last Updated: November 29 2024

Introduction of SeqGPT-560M-GGUF

Model Details of SeqGPT-560M-GGUF

SeqGPT-560M

This is SeqGPT-560M weight, a compact model targeting open-domain Natural Language Understanding (NLU). We refer you to our github repo for more details.

Model Details
Model Description

The model is fine-tuned based on BLOOMZ-560M .

Model Sources
Uses
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM, AutoModel

model_name_or_path = 'DAMO-NLP/SeqGPT-560M'
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path)
model = AutoModelForCausalLM.from_pretrained(model_name_or_path)
tokenizer.padding_side = 'left'
tokenizer.truncation_side = 'left'

if torch.cuda.is_available():
    model = model.half().cuda()
model.eval()
GEN_TOK = '[GEN]'

while True:
    sent = input('输入/Input: ').strip()
    task = input('分类/classify press 1, 抽取/extract press 2: ').strip()
    labels = input('标签集/Label-Set (e.g, labelA,LabelB,LabelC): ').strip().replace(',', ',')
    task = '分类' if task == '1' else '抽取'

    # Changing the instruction can harm the performance
    p = '输入: {}\n{}: {}\n输出: {}'.format(sent, task, labels, GEN_TOK)
    input_ids = tokenizer(p, return_tensors="pt", padding=True, truncation=True, max_length=1024)
    input_ids = input_ids.to(model.device)
    outputs = model.generate(**input_ids, num_beams=4, do_sample=False, max_new_tokens=256)
    input_ids = input_ids.get('input_ids', input_ids)
    outputs = outputs[0][len(input_ids[0]):]
    response = tokenizer.decode(outputs, skip_special_tokens=True)
    print('BOT: ========== \n{}'.format(response))

Runs of mav23 SeqGPT-560M-GGUF on huggingface.co

240
Total runs
0
24-hour runs
-1
3-day runs
-38
7-day runs
75
30-day runs

More Information About SeqGPT-560M-GGUF huggingface.co Model

More SeqGPT-560M-GGUF license Visit here:

https://choosealicense.com/licenses/apache-2.0

SeqGPT-560M-GGUF huggingface.co

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

SeqGPT-560M-GGUF huggingface.co Url

https://huggingface.co/mav23/SeqGPT-560M-GGUF

mav23 SeqGPT-560M-GGUF online free

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

mav23 SeqGPT-560M-GGUF online free url in huggingface.co:

https://huggingface.co/mav23/SeqGPT-560M-GGUF

SeqGPT-560M-GGUF install

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

SeqGPT-560M-GGUF install url in huggingface.co:

https://huggingface.co/mav23/SeqGPT-560M-GGUF

Url of SeqGPT-560M-GGUF

SeqGPT-560M-GGUF huggingface.co Url

Provider of SeqGPT-560M-GGUF huggingface.co

mav23
ORGANIZATIONS

Other API from mav23

huggingface.co

Total runs: 1.2K
Run Growth: 509
Growth Rate: 41.42%
Updated:October 31 2024
huggingface.co

Total runs: 861
Run Growth: 546
Growth Rate: 63.41%
Updated:November 30 2024
huggingface.co

Total runs: 585
Run Growth: 570
Growth Rate: 97.44%
Updated:November 21 2024
huggingface.co

Total runs: 213
Run Growth: 149
Growth Rate: 69.95%
Updated:November 19 2024
huggingface.co

Total runs: 159
Run Growth: 127
Growth Rate: 79.87%
Updated:October 28 2024
huggingface.co

Total runs: 148
Run Growth: 25
Growth Rate: 16.89%
Updated:December 04 2024
huggingface.co

Total runs: 133
Run Growth: 36
Growth Rate: 27.07%
Updated:December 04 2024
huggingface.co

Total runs: 115
Run Growth: 18
Growth Rate: 15.65%
Updated:November 30 2024
huggingface.co

Total runs: 114
Run Growth: -3.5K
Growth Rate: -3107.02%
Updated:October 13 2024