amarquinar

amarquinar / my_bert_qa / 0.4.0

my_bert_qa

Royalty Free
No Tags
Language
Python3
Metrics
API Calls - 202 Avg call duration - N/A
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.
This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks , however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls .

Run an Example

Input
Output
"showed crowds running from the wobbling building"

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:


          $ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
      
CLI Install Docs

Use



    algo run amarquinar/my_bert_qa/0.4.0 -d '{"question":"What showed the videos that circulating on Chinese social media?",
        "context":"Thousands of shoppers in the southern Chinese city of Shenzhen fled the vicinity of a 957-foot (291-meter) skyscraper Tuesday, after it inexplicably began swaying. Videos circulating on Chinese social media showed crowds running from the wobbling building, with some screaming and looking back over their shoulders. The weather was fine at the time and there were no reports of an earthquake in the region. No deaths or injuries were reported.\""}' --timeout 300
  
CLI Docs