File size: 906 Bytes
30cc432
 
 
 
56295bd
 
 
 
 
2898dc1
bf783e9
56295bd
1310d34
 
 
 
56295bd
e4a1833
0c5ab42
e4a1833
56295bd
0c5ab42
 
 
 
 
 
 
 
 
 
 
 
 
 
56295bd
bf783e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
license: mit
language:
- ru
base_model:
- ai-forever/rugpt3large_based_on_gpt2
tags:
- philosophy
- Plato
- text-generation
pipeline_tag: text-generation
---
## Examples
- Example 1: "Benevolence"
- Example 2: "Goodness"
- Example 3: "Justice"

 # Проект семинара “Лаборатория Цифровой Философии”: Обучающий Философский  Чат Бот “Досократик”.
 #  interfacing 2024 , Тайвань.
 # Ярочкин Д.А 2024 

import requests

API_URL = "https://api-inference.huggingface.co/models/DmitryYarov/dosocratic"
headers = {"Authorization": "Bearer hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}

def query(payload):
	response = requests.post(API_URL, headers=headers, json=payload)
	return response.json()
	
output = query({
	"inputs": "Can you please let us know more details about your ",
})



http://digital-philosophy.ru/