You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

llama.abstractions.itexttransform.md 587 B

123456789101112131415161718192021222324252627282930313233
  1. # ITextTransform
  2. Namespace: LLama.Abstractions
  3. An interface for text transformations.
  4. These can be used to compose a pipeline of text transformations, such as:
  5. - Tokenization
  6. - Lowercasing
  7. - Punctuation removal
  8. - Trimming
  9. - etc.
  10. ```csharp
  11. public interface ITextTransform
  12. ```
  13. ## Methods
  14. ### **Transform(String)**
  15. Takes a string and transforms it.
  16. ```csharp
  17. string Transform(string text)
  18. ```
  19. #### Parameters
  20. `text` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
  21. #### Returns
  22. [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>

C#/.NET上易用的LLM高性能推理框架,支持LLaMA和LLaVA系列模型。