The following is an example model and its evaluation.
from mltools.dmx import pipeline
pipe = pipeline(
task="text-generation",
model="d-matrix/opt",
revision="opt-125m", # see above for other variants
dmx_config="BASELINE", # see above for other variants
)
results = pipe.evaluate(
metric="d-matrix/dmx_perplexity",
dataset="wikitext",
dataset_version="wikitext-2-raw-v1",
)
opt huggingface.co is an AI model on huggingface.co that provides opt's model effect (), which can be used instantly with this d-matrix opt model. huggingface.co supports a free trial of the opt model, and also provides paid use of the opt. Support call opt model through api, including Node.js, Python, http.
opt huggingface.co is an online trial and call api platform, which integrates opt's modeling effects, including api services, and provides a free online trial of opt, you can try opt online for free by clicking the link below.
opt is an open source model from GitHub that offers a free installation service, and any user can find opt on GitHub to install. At the same time, huggingface.co provides the effect of opt install, users can directly use opt installed effect in huggingface.co for debugging and trial. It also supports api for free installation.