Giter Club home page Giter Club logo

Comments (7)

cloudherder avatar cloudherder commented on June 20, 2024 1

大兄弟,搞定能不能给个仓库,最近太忙,没时间写接口了🙏

这个:https://github.com/cloudherder/models_for_gpt_academic ,勉强能用。

from gpt_academic.

FLongWang avatar FLongWang commented on June 20, 2024

+1

from gpt_academic.

NeverOccurs avatar NeverOccurs commented on June 20, 2024

+1,急求ollama支持

from gpt_academic.

cloudherder avatar cloudherder commented on June 20, 2024

算了,求人不如求己。

from gpt_academic.

FLongWang avatar FLongWang commented on June 20, 2024

大兄弟,搞定能不能给个仓库,最近太忙,没时间写接口了🙏

from gpt_academic.

FLongWang avatar FLongWang commented on June 20, 2024

老哥,稳!+999赞

from gpt_academic.

zerotoone01 avatar zerotoone01 commented on June 20, 2024

before ollama start, run:
export OLLAMA_HOST="0.0.0.0:11434"

v37.4版本是可以直接支持的,改config的几个点即可:
config.py

API_KEY = "ollama-key"
LLM_MODEL = "one-api-qwen:14b(max_token=32768)"

API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "http://your_ip:11434/v1/chat/completions"}

AVAIL_LLM_MODELS = ["one-api-qwen:14b(max_token=32768)"]

CUSTOM_API_KEY_PATTERN = "ollama-key"

from gpt_academic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.