Coder Social home page Coder Social logo

Comments (7)

okhat avatar okhat commented on July 22, 2024 1

@nvbkdw We'll look into why it's down but please check the intro.ipynb notebook, it has a smaller index (first paragraph of wiki 2017) that you can use

from dspy.

okhat avatar okhat commented on July 22, 2024

Seems fine, but please don’t overload it. If it times out, use it later.

http://ec2-35-87-71-196.us-west-2.compute.amazonaws.com:8893/api/search?query=Who%20has%20got%20Nobel%20Prize%20in%20economics%20from%20India

from dspy.

Gy915 avatar Gy915 commented on July 22, 2024

The new address http://index.contextual.ai:8893/api/search seems down....

from dspy.

okhat avatar okhat commented on July 22, 2024

It works. Are you giving it a query?

from dspy.

Gy915 avatar Gy915 commented on July 22, 2024

I try to use:

requests.get(url, params=payload, timeout=10)
url = 'http://index.contextual.ai:8893/api/search'
payload={'k': 20, 'query': 'Kansas Song'}
and receive 502.

from dspy.

okhat avatar okhat commented on July 22, 2024
import dsp
dsp.settings.configure(rm=dsp.ColBERTv2(url='http://index.contextual.ai:8893/api/search'))

dsp.retrieve('when was stanford founded', k=1)

from dspy.

nvbkdw avatar nvbkdw commented on July 22, 2024

It seems like the ColBERT server is down.

% curl -v 'http://index.contextual.ai:8893/api/search?query=Who%20has%20got%20Nobel%20Prize%20in%20economics%20from%20India'
*   Trying 35.209.35.95:8893...
* connect to 35.209.35.95 port 8893 failed: Operation timed out
* Failed to connect to index.contextual.ai port 8893 after 75010 ms: Couldn't connect to server
* Closing connection 0
curl: (28) Failed to connect to index.contextual.ai port 8893 after 75010 ms: Couldn't connect to server

Would you mind to share the index file on hugging face for people to run ColBERT server locally?

from dspy.

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.