Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
🍮 🦙 Flan-Alpaca: Instruction Tuning from Humans and Machines
📣 Introducing
Red-Eval
to evaluate the safety of the LLMs using several jailbreaking prompts. With
Red-Eval
one could jailbreak/red-team GPT-4 with a 65.1% attack success rate and ChatGPT could be jailbroken 73% of the time as measured on DangerousQA and HarmfulQA benchmarks. More details are here:
Code
and
Paper
.
📣 Curious to know the performance of 🍮 🦙
Flan-Alpaca
on large-scale LLM evaluation benchmark,
InstructEval
? Read our paper
https://arxiv.org/pdf/2306.04757.pdf
. We evaluated more than 10 open-source instruction-tuned LLMs belonging to various LLM families including Pythia, LLaMA, T5, UL2, OPT, and Mosaic. Codes and datasets:
https://github.com/declare-lab/instruct-eval
Alpaca
represents an exciting new direction
to approximate the performance of large language models (LLMs) like ChatGPT cheaply and easily.
Concretely, they leverage an LLM such as GPT-3 to generate instructions as synthetic training data.
The synthetic data which covers more than 50k tasks can then be used to finetune a smaller model.
However, the original implementation is less accessible due to licensing constraints of the
underlying
LLaMA
model.
Furthermore, users have noted
potential noise
in the synthetic
dataset. Hence, it may be better to explore a fully accessible model that is already trained on high-quality (but
less diverse) instructions such as
Flan-T5
.
Usage
from transformers import pipeline
prompt = "Write an email about an alpaca that likes flan"
model = pipeline(model="declare-lab/flan-alpaca-gpt4-xl")
model(prompt, max_length=128, do_sample=True)
# Dear AlpacaFriend,
# My name is Alpaca and I'm 10 years old.
# I'm excited to announce that I'm a big fan of flan!
# We like to eat it as a snack and I believe that it can help with our overall growth.
# I'd love to hear your feedback on this idea.
# Have a great day!
# Best, AL Paca
Runs of declare-lab flan-alpaca-large on huggingface.co
156
Total runs
0
24-hour runs
-10
3-day runs
-9
7-day runs
-22
30-day runs
More Information About flan-alpaca-large huggingface.co Model
flan-alpaca-large huggingface.co is an AI model on huggingface.co that provides flan-alpaca-large's model effect (), which can be used instantly with this declare-lab flan-alpaca-large model. huggingface.co supports a free trial of the flan-alpaca-large model, and also provides paid use of the flan-alpaca-large. Support call flan-alpaca-large model through api, including Node.js, Python, http.
flan-alpaca-large huggingface.co is an online trial and call api platform, which integrates flan-alpaca-large's modeling effects, including api services, and provides a free online trial of flan-alpaca-large, you can try flan-alpaca-large online for free by clicking the link below.
declare-lab flan-alpaca-large online free url in huggingface.co:
flan-alpaca-large is an open source model from GitHub that offers a free installation service, and any user can find flan-alpaca-large on GitHub to install. At the same time, huggingface.co provides the effect of flan-alpaca-large install, users can directly use flan-alpaca-large installed effect in huggingface.co for debugging and trial. It also supports api for free installation.