-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMinimalTextClassifierTrainAndTest.csproj
More file actions
30 lines (30 loc) · 1.26 KB
/
MinimalTextClassifierTrainAndTest.csproj
File metadata and controls
30 lines (30 loc) · 1.26 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ML.Tokenizers" Version="2.0.0" />
<PackageReference Include="Serilog.Extensions.Logging" Version="9.0.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
<PackageReference Include="Serilog.Sinks.Debug" Version="3.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
<PackageReference Include="Microsoft.ML.OnnxRuntime.Gpu" Version="1.23.1" />
</ItemGroup>
<ItemGroup>
<!-- Copy training data files and Python script to output for runtime access -->
<None Include="positive_examples.txt" CopyToOutputDirectory="Always" />
<None Include="negative_examples.txt" CopyToOutputDirectory="Always" />
<None Include="train_model.py" CopyToOutputDirectory="Always" />
</ItemGroup>
<ItemGroup>
<None Update="models\deberta_v3_small_int8.onnx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="models\spm.model">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>