2023-12-12 19:08:34 +08:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2023-06-19 17:44:51 +08:00
|
|
|
|
<Import Project="..\LLama\LLamaSharp.Runtime.targets" />
|
2023-05-10 02:13:41 +08:00
|
|
|
|
<PropertyGroup>
|
2023-12-12 19:08:34 +08:00
|
|
|
|
<TargetFramework>net8.0</TargetFramework>
|
2023-05-10 02:13:41 +08:00
|
|
|
|
<RootNamespace>LLama.Unittest</RootNamespace>
|
|
|
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
|
|
|
<Platforms>AnyCPU;x64</Platforms>
|
|
|
|
|
<Nullable>enable</Nullable>
|
|
|
|
|
|
|
|
|
|
<IsPackable>false</IsPackable>
|
2023-11-20 01:11:01 +08:00
|
|
|
|
|
|
|
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
2023-05-10 02:13:41 +08:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2023-11-13 14:38:31 +08:00
|
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
|
2023-09-15 04:04:14 +08:00
|
|
|
|
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
|
2023-12-11 22:26:14 +08:00
|
|
|
|
<PackageReference Include="xunit" Version="2.6.3" />
|
2023-12-11 14:20:24 +08:00
|
|
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.5">
|
2023-05-10 02:13:41 +08:00
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
</PackageReference>
|
2023-08-24 07:09:00 +08:00
|
|
|
|
<PackageReference Include="coverlet.collector" Version="6.0.0">
|
2023-05-10 02:13:41 +08:00
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
</PackageReference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2023-07-31 02:44:47 +08:00
|
|
|
|
<Target Name="DownloadContentFiles" BeforeTargets="Build">
|
2023-09-05 04:26:02 +08:00
|
|
|
|
<DownloadFile SourceUrl="https://huggingface.co/TheBloke/Llama-2-7b-Chat-GGUF/resolve/main/llama-2-7b-chat.Q4_0.gguf" DestinationFolder="Models" DestinationFileName="llama-2-7b-chat.Q4_0.gguf" SkipUnchangedFiles="true">
|
2023-08-05 20:37:03 +08:00
|
|
|
|
</DownloadFile>
|
|
|
|
|
</Target>
|
|
|
|
|
|
2023-05-10 02:13:41 +08:00
|
|
|
|
<ItemGroup>
|
2023-11-20 23:55:20 +08:00
|
|
|
|
<ProjectReference Include="..\LLama.SemanticKernel\LLamaSharp.SemanticKernel.csproj" />
|
2023-05-10 02:13:41 +08:00
|
|
|
|
<ProjectReference Include="..\LLama\LLamaSharp.csproj" />
|
|
|
|
|
</ItemGroup>
|
2023-08-05 20:37:03 +08:00
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Folder Include="Models\" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2023-09-05 04:26:02 +08:00
|
|
|
|
<None Update="Models\llama-2-7b-chat.Q4_0.gguf">
|
2023-08-27 07:12:42 +08:00
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2023-08-05 20:37:03 +08:00
|
|
|
|
</ItemGroup>
|
2023-05-10 02:13:41 +08:00
|
|
|
|
</Project>
|