# Самохостинг Sentiment и Emotion для DiscourseAI

**URL:** https://meta.discourse.org/t/self-hosting-sentiment-and-emotion-for-discourseai/334451
**Category:** Self-Hosting
**Tags:** ai, ai-sentiment
**Created:** [04.Ноябрь.2024 17:56:42 UTC](https://meta.discourse.org/t/self-hosting-sentiment-and-emotion-for-discourseai/334451 "2024-11-04T17:56:42Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![agent\_kith](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/agent_kith/32/541510_2.png) [@agent\_kith](https://meta.discourse.org/u/agent_kith)
#### Post date: [21.Июнь.2025 00:34:38 UTC](https://meta.discourse.org/t/self-hosting-sentiment-and-emotion-for-discourseai/334451/7 "2025-06-21T00:34:38Z")

</div>

Спасибо. Я просто запустил второй контейнер Docker с некоторыми изменениями, например:

```plaintext
mkdir -p /opt/tei-cache2
docker run --detach --rm --gpus all --shm-size 1g -p 8082:80 \
  -v /opt/tei-cache2:/data \
  ghcr.io/huggingface/text-embeddings-inference:latest \
  --model-id SamLowe/roberta-base-go_emotions

```

и добавил новую запись в `ai_sentiment_model_configs`. Теперь всё работает. Спасибо. 🙂

---

_[View the full topic](https://meta.discourse.org/t/self-hosting-sentiment-and-emotion-for-discourseai/334451)._
