• Stars
    star
    166
  • Rank 226,484 (Top 5 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 1 year ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

starcoder server for huggingface-vscdoe custom endpoint

Hugging Face VSCode Endpoint Server

starcoder server for huggingface-vscode custom endpoint.

Can't handle distributed inference very well yet.

Usage

pip install -r requirements.txt
python main.py

Fill http://localhost:8000/api/generate/ into Hugging Face Code > Model ID or Endpoint in VSCode.

API

curl -X POST http://localhost:8000/api/generate/ -d '{"inputs": "", "parameters": {"max_new_tokens": 64}}'
# response = {"generated_text": ""}

More Repositories

1

PasteMe

PasteMe 是一个无需注册的文本分享平台(未登陆状态下只能使用阅后即焚),可以为文本设置密码和阅后即焚,支持二维码分享和各种一键复制,针对代码提供了额外的高亮功能。
1,183
star
2

timer

Python code timer, support block wise and function wise
Python
15
star
3

open-ai-search

AI Search Engine in 70 lines
Python
11
star
4

QRCode-Generator

在线生成二维码,支持GET调用
PHP
8
star
5

HelloCI

CI/D Sample & Test Repository
Go
6
star
6

kms

Windows & Office KMS 激活 BAT 脚本
Batchfile
4
star
7

chatbot-api-server

ChatBot 的 API 后端,支持同步调用和流式调用
Python
3
star
8

flow-network

网络流工业级应用
Python
3
star
9

i-am-lucien

I am Lucien
Vue
2
star
10

LocalJudge

针对ACM/NOIP竞赛C/C++程序的本地测评
Python
2
star
11

HelloJava

For Java Study
Java
2
star
12

simple-dingtalk-chatbot

Simple DingTalk Chatbot
Python
2
star
13

stopwords

中文常用停用词表并集(哈工大、百度、四川大学等)
Python
2
star
14

ICPCAutoSeats

为ICPC区域赛主办方提供傻瓜式座位分配
Python
2
star
15

ikuai-firmware

iKuai 历史固件下载页面
HTML
2
star
16

epub2txt

Convert epub file to markdown txt
Python
2
star
17

Webhook

Simple webhook server, build for continuous integration & deployment
Go
2
star
18

openai-gateway

OpenAI Compatible LLM Gateway
Python
2
star
19

Tetris

基于QtCreator的俄罗斯方块
C++
1
star
20

HelloMachineLearning

Nothing else
Jupyter Notebook
1
star
21

Tetris-Double

俄罗斯方块双人版
C++
1
star
22

about

让机器人来回答关于我的问题
Python
1
star
23

tiny-gpt-rlhf

Reproduction of reinforce learning from human feedback, but GPT with tiny scale.
Python
1
star
24

GFRobot

钉钉提醒干饭机器人。准点干饭,是打工人的基本素养。
Python
1
star
25

SnakeAI

Only artificial, no intelligence yet
Python
1
star