Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev llm enhance ctr gwn #293

Closed
wants to merge 4 commits into from

[20240323]完成contrastive & mlm两种对齐模式的基础模块

b47b36c
Select commit
Loading
Failed to load commit list.
Closed

Dev llm enhance ctr gwn #293

[20240323]完成contrastive & mlm两种对齐模式的基础模块
b47b36c
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Mar 23, 2024 in 0s

38 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 38
           

Complexity increasing per file
==============================
- alignment/main.py  11
- alignment/trainer.py  3
- alignment/data.py  7
- alignment/schema.py  1
- alignment/model.py  3
- alignment/arguments.py  1
         

Clones added
============
- alignment/model.py  2
- deepctr_torch/models/deepfm.py  2
- deepctr_torch/models/din.py  2
         

See the complete overview on Codacy

Annotations

Check notice on line 1 in alignment/arguments.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/arguments.py#L1

'os' imported but unused (F401)

Check warning on line 1 in alignment/arguments.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/arguments.py#L1

Unused import os

Check notice on line 18 in alignment/data.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/data.py#L18

'..deepctr_torch.inputs.DenseFeat' imported but unused (F401)

Check warning on line 18 in alignment/data.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/data.py#L18

Unused DenseFeat imported from deepctr_torch.inputs

Check notice on line 141 in alignment/data.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/data.py#L141

Trailing whitespace

Check notice on line 6 in alignment/main.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/main.py#L6

'transformers.AutoConfig' imported but unused (F401)

Check warning on line 6 in alignment/main.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/main.py#L6

Unused AutoConfig imported from transformers

Check notice on line 77 in alignment/main.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/main.py#L77

Trailing whitespace

Check notice on line 80 in alignment/main.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/main.py#L80

Trailing whitespace

Check warning on line 4 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L4

Unused import json

Check notice on line 7 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L7

'dataclasses.dataclass' imported but unused (F401)

Check warning on line 7 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L7

Unused dataclass imported from dataclasses

Check notice on line 12 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L12

'torch.distributed as dist' imported but unused (F401)

Check warning on line 12 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L12

Unused torch.distributed imported as dist

Check notice on line 14 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L14

'transformers.AutoModel' imported but unused (F401)

Check notice on line 15 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L15

'transformers.models.bert.modeling_bert.BertPreTrainedModel' imported but unused (F401)

Check warning on line 15 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L15

Unused BertPreTrainedModel imported from transformers.models.bert.modeling_bert

Check notice on line 16 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L16

'transformers.modeling_outputs.ModelOutput' imported but unused (F401)

Check notice on line 19 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L19

'typing.Optional' imported but unused (F401)

Check warning on line 19 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L19

Unused Optional imported from typing

Check notice on line 22 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L22

'deepctr_torch.models.din.DIN' imported but unused (F401)

Check warning on line 22 in alignment/model.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/model.py#L22

Unused DIN imported from deepctr_torch.models.din

Check notice on line 2 in alignment/trainer.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/trainer.py#L2

'itertools.repeat' imported but unused (F401)

Check notice on line 9 in alignment/trainer.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/trainer.py#L9

'torch.distributed as dist' imported but unused (F401)

Check warning on line 9 in alignment/trainer.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

alignment/trainer.py#L9

Unused torch.distributed imported as dist