Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Interpretability bugs and improvements required

Đang mở
#817 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
28/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python, pytorch
Lĩnh vực
machine-learning

Hướng nghiên cứu

The issue does not name specific files or tests. Start by locating the base model's forward_from_embedding method and the interpretability module's loss and masking logic, then trace how interpretability methods call them. Done means the method is standardized, loss computation no longer requires a fabricated label tensor, and masking handles perturbations that zero values; the issue gives no verification steps.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Updating this is crucial to helping users understand how to define their own models to be compatible with the interpretability module.

  • standardize the forward_from_embedding method in base model
  • conditionally compute loss so the interpretability method don't need to worry about faking a label tensor
  • masking has been proven to be problematic even for now. especially some methods will zero values for perturbation, which cause the x.sum(dim=...) == 0 method fail significantly.
Ngôn ngữ chính
Python
Star
1.7k
Fork
803
Merge trung bình
4 ngày 18 giờ
Pull request đã merge (30 ngày)
58

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sunlabuiuc/PyHealth

Tất cả issue của sunlabuiuc/PyHealth

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.