百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

allennlp-demo

> 编程语言
开源

AllenNLP 演示的代码。

199 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

AllenNLP 演示的代码。

⚠️ NOTICE: The AllenNLP library and this demo are no longer maintained.

About

This repository contains the code for the AllenNLP demo, a web application that demonstrates the capabilities of AllenNLP, an open source library for NLP research.

Getting Started

First, make sure you have Docker and Python 3 (3.7 or higher) installed. After that's complete, you can start things by running this command:

./demo start

This will start a local instance of the UI and a reverse proxy that forwards API requests to production. After this command succeeds, you should be able to open http://localhost:8080 in a browser and see a fully functional version of the demo.

If you're only working on the UI, you don't need to do anything else. As you make changes to the code they'll be automatically applied. While you're working you'll probably want to stream the logs from the UI container to your terminal, so you can see errors when they occur:

./demo logs --follow ui

By default the demo will send requests to API endpoints running in production. If you'd like to run an endpoint locally, just run the start command with the ID of the endpoint:

./demo start bidaf

This will build and start that endpoint and update the reverse proxy configuration so that requests for that model are routed to your local machine instead of the production site.

Change to the Python code related to that endpoint will automatically be applied. Again, you'll probably want to view the logs output by the container while working on it, which you can do like so:

./demo logs --follow bidaf

The ./demo command provides a bunch of other useful commands. You can see full usage information like so:

./demo --help

Issues· 79 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言