Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A AutoIntent
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DeepPavlov
  • AutoIntent
  • Merge requests
  • !39

Test/pipeline simpler fitting

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Roman Zlobin requested to merge test/pipeline-simpler-fitting into feat/pipeline-simpler-fitting Nov 06, 2024
  • Overview 3
  • Commits 6
  • Pipelines 0
  • Changes 6

Created by: Darinochka

Тесты для InferencePipeline

Текущие проблемы:

  • тест tests/pipeline/test_inference.py проходит только если добавить в конфиги tests/assets/configs/ для модуля скоринга model_name:
nodes:
  - node_type: retrieval
    metric: retrieval_hit_rate
    search_space:
      - module_type: vector_db
        k: [10]
        model_name:
          - sentence-transformers/all-MiniLM-L6-v2
  - node_type: scoring
    metric: scoring_roc_auc
    search_space:
      - module_type: description
        temperature: [1.0, 0.5, 0.1, 0.05]
        model_name:
          - sentence-transformers/all-MiniLM-L6-v2
  - node_type: prediction
    metric: prediction_accuracy
    search_space:
      - module_type: argmax

иначе выдает ошибку:

TypeError: KNNScorer.__init__() missing 1 required positional argument: 'model_name'

Это нормальное поведение? Стоит ли менять конфиг? Как я поняла, model_name это энкодер из векторной базы и он должен подставляться автоматически исходя из лучшего энкодера

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: test/pipeline-simpler-fitting